diff options
author | HombreLaser <sebastian-440@live.com> | 2023-10-25 20:37:51 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-10-25 20:37:51 -0600 |
commit | 86d179896001bd867acfe45c79ebb55aa9d53736 (patch) | |
tree | 93a64e7ac07eab0552e68a1536b1aee626f060fb /_includes/views | |
parent | e566b01bdc3546b576eaa57b11174e795c9842e3 (diff) |
Add finishing touches
Diffstat (limited to '_includes/views')
-rw-r--r-- | _includes/views/banner.html | 4 | ||||
-rw-r--r-- | _includes/views/header.html | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/_includes/views/banner.html b/_includes/views/banner.html index 1db45a5..bd3205c 100644 --- a/_includes/views/banner.html +++ b/_includes/views/banner.html @@ -116,10 +116,10 @@ <div class="page-banner-default"> <h1 class="page-banner-heading"> - {{ heading | default: page.title | escape }} + {% t home.heading %} </h1> <h2 class="page-banner-subheading"> - {{ subheading | default: page.subtitle | escape }} + {% t home.subheading %} </h2> </div> diff --git a/_includes/views/header.html b/_includes/views/header.html index c43d7ec..d022c16 100644 --- a/_includes/views/header.html +++ b/_includes/views/header.html @@ -1,4 +1,3 @@ - {%- include functions.html func='get_banner' -%} {%- include functions.html func='log' level='debug' msg='Get header_transparent value' -%} @@ -36,7 +35,7 @@ {%- for path in page_paths -%} {%- assign my_page = site.pages | where: "path", path | first -%} {%- if my_page.title -%} - <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | upcase | escape }}</a> + <a class="page-link" href="{{ my_page.url | relative_url }}">{% t my_page.title %}</a> {%- endif -%} {%- endfor -%} |