diff options
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 -%} |