diff options
| author | Jieiku | 2023-07-18 13:23:00 -0700 |
|---|---|---|
| committer | Jieiku | 2023-07-18 13:23:00 -0700 |
| commit | 65f135a6a2f7be105bfe9ce95796b2314627b20d (patch) | |
| tree | bd0e248c3398769ed71d62d869b09a82f86d0e7f /templates | |
| parent | b53294f7fb8afbb9565dcd46f2985257c8075e5c (diff) | |
| download | abridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.tar.gz abridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.tar.bz2 abridge-65f135a6a2f7be105bfe9ce95796b2314627b20d.zip | |
Add Examples for Sections and Transparent Sections
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/archive.html (renamed from templates/posts.html) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/posts.html b/templates/archive.html index f9befe5..fdbb5e8 100644 --- a/templates/posts.html +++ b/templates/archive.html @@ -1,5 +1,5 @@ {# -This Page Shows the Posts Grouped by Year: example.com/posts/ +This Page Shows the Posts Grouped by Year: example.com/archive/ This Template can also be used as the rendering template for Sections, eg: example.com/blog/ example.com/software/ #} @@ -7,7 +7,7 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- block seo %} {{- super() }} - {%- set title = "Posts" %} + {%- set title = "Archive" %} {%- if config.title %} {%- set title_addition = title_separator ~ config.title %} @@ -21,8 +21,8 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- endblock seo %} {%- block content %} - {#- The following line is checking if the template is being used for the posts page or a section #} - {%- if current_path is matching("^(/[[:alpha:]][[:alpha:]])?/posts/$") %} + {#- The following line is checking if the template is being used for the archive page or a section #} + {%- if current_path is matching("^(/[[:alpha:]][[:alpha:]])?/archive/$") %} {%- set sec = "" %} {%- else %} {%- set langpath = "/" %} |
