diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/orgo.toml (renamed from content/org-ssg.toml) | 12 | ||||
| -rw-r--r-- | content/templates/base.html | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/content/org-ssg.toml b/content/orgo.toml index a1db6a0..307df57 100644 --- a/content/org-ssg.toml +++ b/content/orgo.toml @@ -1,13 +1,13 @@ -# org-ssg configuration for cleberg.net. +# orgo configuration for cleberg.net. # # Lives in content/ because that directory is the site's URL root: content/blog/post.org # publishes at /blog/post.html. Neither this file nor templates/ is published. # -# org-ssg serve content -o /tmp/preview # write and preview -# org-ssg build content -o _site --strict # build for real, failing on broken links +# orgo serve content -o /tmp/preview # write and preview +# orgo build content -o _site --strict # build for real, failing on broken links # # This sits alongside the existing weblorg setup (publish.el, theme/) and changes nothing -# about it. Delete this file and content/templates/ to remove org-ssg entirely. +# about it. Delete this file and content/templates/ to remove orgo entirely. [site] title = "cleberg.net" @@ -32,7 +32,7 @@ mode = "explicit" pages = ["blog/index.html", "garden/index.html", "salary/index.org"] [build] -# theme/static/ is weblorg's static root, published at /. org-ssg reads it from here +# theme/static/ is weblorg's static root, published at /. orgo reads it from here # rather than needing its files copied next to the writing — one copy, not two. assets = ["../theme/static"] @@ -74,7 +74,7 @@ section_numbers = true # content/index.org was deleted to make room: it held only #+title and #+description, # both of which are now [site] settings above. Restore it any time with # `git checkout content/index.org`, but then this collection must output somewhere else — -# two pages cannot claim one URL, and org-ssg fails the build rather than picking a winner. +# two pages cannot claim one URL, and orgo fails the build rather than picking a winner. [[collections]] source = "blog" output = "index.html" diff --git a/content/templates/base.html b/content/templates/base.html index 090cbea..e35098c 100644 --- a/content/templates/base.html +++ b/content/templates/base.html @@ -1,12 +1,12 @@ -{# Page layout for org-ssg, mirroring theme/templates/base.html. +{# Page layout for orgo, mirroring theme/templates/base.html. Styling comes from theme/static/styles.css, published by `[build] assets` in - org-ssg.toml — the same directory weblorg serves at /, read in place rather than + orgo.toml — the same directory weblorg serves at /, read in place rather than copied. weblorg links the minified styles.min.css instead; that file is gitignored build output and the rules are the same, so this links the tracked one. Available here: page (.title .url .source .date .date_iso .tags .excerpt .toc - .keywords), site, nav, root, stylesheet. See the org-ssg guide on Templates. #} + .keywords), site, nav, root, stylesheet. See the orgo guide on Templates. #} {#- The table of contents, in the shape Emacs exports it. `page.toc` is a tree of {title, anchor, level, number, children}, and it is empty when the page has no headings or says `#+OPTIONS: toc:nil` — so pages that opt out render nothing here. @@ -78,7 +78,7 @@ <p>{% for tag in page.tags %}<a href="{{ root }}tags/{{ tag }}.html">#{{ tag }}</a> {% endfor %}</p> {%- endif %} {#- Blog posts add a reply footer inside this block; see post.html, which the - [[pages]] rule in org-ssg.toml selects for everything under blog/. #} + [[pages]] rule in orgo.toml selects for everything under blog/. #} <div> {{- toc(page.toc) }} {% block content %}{{ body | safe }}{% endblock %}</div> |
