{# Page layout for org-ssg, mirroring theme/templates/base.html. Styling comes from styles.css, copied here from theme/static/ along with gpg.txt, robots.txt and salary.csv — org-ssg publishes assets from inside its source directory, and weblorg's live static root is theme/static/. The copies should stay identical: `diff content/styles.css theme/static/styles.css` and friends should print nothing, or consolidate the two if you migrate for real. weblorg links the minified styles.min.css instead; that file is gitignored build output, and the rules are the same, so the tracked stylesheet is the one to publish from here. Available here: page (.title .url .source .date .date_iso .tags .excerpt .toc .keywords), site, nav, root, stylesheet. See the org-ssg guide on Templates. #} {% block subtitle %}{{ page.title }} - {% endblock %}{{ site.title }} {#- rel="me" identity links. weblorg's base.html writes the last one as , which a browser hoists out of ; is the spelling that stays where it is put. #} {%- if stylesheet %} {%- endif %}
{% block main %}

{{ page.title }}

{%- if page.date_iso %}

{% if page.excerpt %} · {{ page.excerpt }}{% endif %}

{%- endif %} {%- if page.tags %}

{% for tag in page.tags %}#{{ tag }} {% endfor %}

{%- endif %}
{% block content %}{{ body | safe }}{% endblock %}
{#- Blog posts carry a reply footer; other pages do not. org-ssg has no per-page template selection, so the page's own URL is what tells them apart. #} {%- if page.url is startingwith("blog/") %}
Reply via email →
...or, comment on this post on Bubbles!
{%- endif %}
{% endblock %}