From f5bdaad52732d71476c998eee976cb655d06aac1 Mon Sep 17 00:00:00 2001 From: agusmakmun <summon.agus@gmail.com> Date: Tue, 19 Apr 2016 02:07:11 +0700 Subject: [PATCH] Update Base Url --- _config.yml | 5 ++--- _layouts/default.html | 12 ++++++------ index.html | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/_config.yml b/_config.yml index eabb83c..8ec4fa3 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,6 @@ about: I am freelance developer. Currently doing more in backend, actually in Py urls: - text: github url: https://github.com/agusmakmun -baseurl: '/agusmakmun.github.io' -paginate: 1 -per_page: 1 +paginate: 20 +per_page: 20 paginate_path: "/page:num/" diff --git a/_layouts/default.html b/_layouts/default.html index 0c03d8f..391b057 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,16 +8,16 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- syntax highlighting CSS --> - <link rel="stylesheet" href="{{ site.baseurl }}/css/syntax.css"> + <link rel="stylesheet" href="/css/syntax.css"> <!-- Bootstrap core CSS --> - <link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet"> + <link href="/css/bootstrap.min.css" rel="stylesheet"> <!-- Fonts --> <link href="//fonts.googleapis.com/css?family=Roboto+Condensed:400,300italic,300,400italic,700&subset=latin,latin-ext" rel="stylesheet" type="text/css"> <!-- Custom CSS --> - <link rel="stylesheet" href="{{ site.baseurl }}/css/main.css"> + <link rel="stylesheet" href="/css/main.css"> </head> <body> @@ -25,7 +25,7 @@ <div class="container"> <div class="col-sm-3"> - <img id="about" src="{{ site.baseurl }}/img/avatar.jpg" height="75px" width="75px" /> + <img id="about" src="/img/avatar.jpg" height="75px" width="75px" /> <h1 class="author-name">{{ site.name }}</h1> {% if site.about %} <div id="about"> @@ -34,7 +34,7 @@ {% endif %} <hr /> <strong>Navigation</strong><br /> - » <a href="{{ site.baseurl }}/">home</a> <br /> + » <a href="/">home</a> <br /> {% for i in site.urls %} » <a class="about" href="{{ i.url }}">{{ i.text }}</a><br /> {% endfor %} @@ -57,7 +57,7 @@ <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> + <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> </body> </html> diff --git a/index.html b/index.html index 66d492b..372d145 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ layout: default <h1>Our Stack Problems</h1> <ol class="posts"> {% for post in site.posts %} - <li><span>{{ post.date | date_to_string }}</span> » <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li> + <li><span>{{ post.date | date_to_string }}</span> » <a href="{{ post.url }}">{{ post.title }}</a></li> {% endfor %} </ol> -- GitLab