Embedded templates

The templates fugo ships — RSS, sitemap, robots.txt, aliases, render hooks, shortcodes and partials — and how to override them.

fugo ships a set of templates so that a site works without writing them: the RSS feed, the sitemap, robots.txt, alias redirects, the default render hooks, the built-in shortcodes Go-template sites expect and a few partials. They are loaded under the prefix _embedded/. A template of your project or theme with the same name wins: to change the sitemap, add layouts/sitemap.xml.

  • _markup/render-codeblock-goat.html
  • _markup/render-image.html
  • _markup/render-link.html
  • _markup/render-table.html
  • _partials/_funcs/get-page-images.html
  • _partials/google_analytics.html
  • _partials/opengraph.html
  • _partials/pagination.html
  • _partials/schema.html
  • _partials/twitter_cards.html
  • _shortcodes/details.html
  • _shortcodes/figure.html
  • _shortcodes/highlight.html
  • _shortcodes/instagram.html
  • _shortcodes/param.html
  • _shortcodes/qr.html
  • _shortcodes/ref.html
  • _shortcodes/relref.html
  • _shortcodes/vimeo.html
  • _shortcodes/x.html
  • _shortcodes/youtube.html
  • alias.html
  • robots.txt
  • rss.xml
  • sitemap.xml
  • sitemapindex.xml

Call an embedded partial by its name: {{ partial(name="pagination.html") }}, {% include "_partials/opengraph.html" %}. The shortcodes are used in content like your own: {{< youtube id="0RKpf3rK57I" >}}. See Shortcodes for their arguments.

    Type to search titles, headings and text.