Add support for series title metadata
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
<meta charset=utf-8>
|
||||
<meta name=viewport content="width=device-width">
|
||||
<meta name=htmx-config content='{"historyCacheSize":0}'>
|
||||
<title>{{ page_title }} » Bit Badger Solutions</title>
|
||||
{%- if page -%}
|
||||
{%- assign series_name = page.metadata | value: "series_name" -%}
|
||||
{%- if series_name == "-- series_name not found --" %}{% assign series_name = "" %}{% endif -%}
|
||||
{%- else -%}
|
||||
{%- assign series_name = "" -%}
|
||||
{%- endif -%}
|
||||
{%- capture extra_title %}{% if series_name == "" %}{% else %} {{ series_name }} »{% endif %}{% endcapture -%}
|
||||
<title>{{ page_title }} »{{ extra_title }} Bit Badger Solutions</title>
|
||||
<link rel=stylesheet href="https://fonts.googleapis.com/css?family=Oswald|Raleway">
|
||||
{% page_head -%}
|
||||
<body hx-boost=true hx-target=main hx-indicator=#loadOverlay hx-swap="innerHTML show:body:top">
|
||||
|
||||
Reference in New Issue
Block a user