diff options
-rw-r--r-- | assets/css/base.temp.css | 13 | ||||
-rw-r--r-- | config.yaml | 1 | ||||
-rw-r--r-- | layouts/index.html | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/assets/css/base.temp.css b/assets/css/base.temp.css index 2023b32..b51fb6f 100644 --- a/assets/css/base.temp.css +++ b/assets/css/base.temp.css @@ -89,6 +89,19 @@ code { color: white; } +{{ with site.Params.divider }} + +.Divider { + display: flex; + justify-content: center; +} + +.Divider::after { + content: "{{ . }}"; +} + +{{ end }} + .Pagination { font-size: 1.25rem; color: inherit; diff --git a/config.yaml b/config.yaml index 2771607..5756efa 100644 --- a/config.yaml +++ b/config.yaml @@ -18,6 +18,7 @@ params: netlify: honeypot: false # Set to true to add honeypot field in contact form recaptcha: false # Set to true to add recaptcha challenge in contact form + divider: '\2015\2015' # Set to false to remove divider below posts on homepage menu: nav: diff --git a/layouts/index.html b/layouts/index.html index af8e2c2..5686006 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -41,6 +41,7 @@ {{ end }} {{ partial "tags.html" . }} </article> +{{ with site.Params.divider }}<div class="Divider"></div>{{ end }} {{ end }} {{ partial "pagination.html" $paginator }} |