From 26462f6a75ddc3e843fa2de4e90ef04db5714aed Mon Sep 17 00:00:00 2001 From: foo-dogsquared <christiangabrielarazas@gmail.com> Date: Sun, 19 Aug 2018 00:04:25 +0800 Subject: [PATCH] Test the pagination --- _config.yml | 5 ++--- notes.md | 7 ++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 78ae006..f145151 100644 --- a/_config.yml +++ b/_config.yml @@ -19,9 +19,8 @@ description: >- # this means to ignore newlines until "baseurl:" A blog that serves as a documentation of my progress learning anything tech-related, mostly programming and engineering. Yes, one of those blogs... -baseurl: "/blog" # the subpath of your site, e.g. /blog +baseurl: "/blog/" # the subpath of your site, e.g. /blog url: "https://foo-dogsquared.github.io" # the base hostname & protocol for your site, e.g. http://example.com -encoding: UTF-8 codepen_username: foo-dogsquared devto_username: foodogsquared @@ -30,7 +29,7 @@ gitlab_username: foo-dogsquared linkedin_username: gabriel-arazas twitter_username: foo_dogsquared paginate: 10 -paginate_path: "/page:num/" +paginate_path: '/blog/page:num/' # Enabling Disqus disqus: diff --git a/notes.md b/notes.md index 3743f6b..5c4cfef 100644 --- a/notes.md +++ b/notes.md @@ -7,7 +7,12 @@ permalink: /notes/ <ul id="entry-list" style="list-style: none; margin: 0; padding: 0"> {% for post in site.posts %} <li class="entry-list-item"> - <a href="{{post.url | relative_url}}">{{post.title}}</a> + <div style="display: flex; flex-flow: column wrap;"> + <a href="{{post.url | relative_url}}">{{post.title}}</a> + {% if post.alt_title %} + <a href="{{post.url | relative_url}}" style="font-size: 0.9em">{{post.alt_title}}</a> + {% endif %} + </div> <span class="post-list-date">{{post.date | date_to_long_string}}</span> </li> {% endfor %}