diff --git a/_config.yml b/_config.yml index eabb83c8b2343f7efaa57ba668379636b0eee779..8ec4fa365ca2b36ff10f2c6926e4ab044ebc6b48 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 0c03d8f0588c815f3b4fc99ffd2500725995b265..391b057823cc78b2c5ed1b0f64a00b8abbb675bd 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 66d492bbcb5a0fb1843939bdbdb5fefa94cee422..372d1450d664190fce9150ec32a8edc6cadb9b21 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>