Something went wrong. Try again.
Joseph Hale's Technical Blog
Something went wrong. Try again.
441 B · 20 lines
HTML
at content
123456789101112131415161718192021---layout: default---
{% include lang.html %}
<article class="px-1"> {% if page.layout == 'page' or page.collection == 'tabs' %} {% assign tab_key = page.title | downcase %} {% assign title = site.data.locales[lang].tabs[tab_key] | default: page.title %} <h1 class="dynamic-title"> {{ title }} </h1> <div class="content"> {{ content }} </div> {% else %} {{ content }} {% endif %}</article>