From 0170f55fee84e05a17d8a02d7433978de47944b2 Mon Sep 17 00:00:00 2001 From: Yum Date: Thu, 20 Oct 2016 00:42:07 +0800 Subject: [PATCH 1/4] Add the page number to the title of everything (Won't show when u r on Page 1) Try it! This is a gift from me out of gratitude! Ur pelicanconf.py really sped up my modification! --- theme/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/index.html b/theme/templates/index.html index eaa4bbc..887bbd5 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,5 +1,5 @@ {% extends '_article_list.html' %} -{% block title %}{{ SITENAME }}{% endblock %} +{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} - Page {{ articles_page.number }}{% endif %}{% endblock %} {% block content %}

From 061b4382e666cac6f94413d6da4b19e2e75bab1b Mon Sep 17 00:00:00 2001 From: Yum Date: Thu, 20 Oct 2016 00:45:33 +0800 Subject: [PATCH 2/4] I forgot that u prefer lower case Sorry --- theme/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/index.html b/theme/templates/index.html index 887bbd5..bd05392 100644 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -1,5 +1,5 @@ {% extends '_article_list.html' %} -{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} - Page {{ articles_page.number }}{% endif %}{% endblock %} +{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} / page {{ articles_page.number }}{% endif %}{% endblock %} {% block content %}

From 7e7c3d948a859d775ac2123253ddc42cd3e213dd Mon Sep 17 00:00:00 2001 From: Yum Date: Thu, 20 Oct 2016 11:52:54 +0800 Subject: [PATCH 3/4] Add the page number to the title of each tag (Won't show when u r on Page 1) (#5) Try it! This is a gift from me out of gratitude! Ur pelicanconf.py really sped up my modification! --- theme/templates/tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/tag.html b/theme/templates/tag.html index 4c3eb6c..65a4ec4 100644 --- a/theme/templates/tag.html +++ b/theme/templates/tag.html @@ -1,6 +1,6 @@ {% extends '_article_list.html' %} -{% block title %}🔖 {{ tag.name }} / {{ SITENAME }}{% endblock %} +{% block title %}🔖 {{ tag.name }}{% if articles_page.number != 1 %} / page {{ articles_page.number }}{% endif %} / {{ SITENAME }}{% endblock %} {% block content %}

Tagged: {{ tag.name }}

From 1431f9a7d2e91abbab4ab0a3bbd5586a8619a780 Mon Sep 17 00:00:00 2001 From: Yum Date: Thu, 20 Oct 2016 11:53:57 +0800 Subject: [PATCH 4/4] Add the page number to the title of dev and blog (Won't show when u r on Page 1) (#6) Try it! This is a gift from me out of gratitude! Ur pelicanconf.py really sped up my modification! --- theme/templates/category.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/category.html b/theme/templates/category.html index a0c8023..f634709 100644 --- a/theme/templates/category.html +++ b/theme/templates/category.html @@ -1,7 +1,7 @@ {% extends '_article_list.html' %} {% import '_lib.html' as lib with context %} -{% block title %}{{ category.name }} / {{ SITENAME }}{% endblock %} +{% block title %}{{ category.name }}{% if articles_page.number != 1 %} / page {{ articles_page.number }}{% endif %} / {{ SITENAME }}{% endblock %} {% block content %}