hugo: github.com/gohugoio/hugo/tpl/tplimpl/embedded Index | Files | Directories

package embedded

import "github.com/gohugoio/hugo/tpl/tplimpl/embedded"

Package embedded defines the internal templates that Hugo provides.

Index

Package Files

templates.autogen.go

Variables

var EmbeddedTemplates = [][2]string{
    {`_default/robots.txt`, `User-agent: *`},
    {`_default/rss.xml`, ""          /* 1961 byte string literal not displayed */},
    {`_default/sitemap.xml`, ""      /* 958 byte string literal not displayed */},
    {`_default/sitemapindex.xml`, "" /* 401 byte string literal not displayed */},
    {`alias.html`, "" /* 246 byte string literal not displayed */},
    {`disqus.html`, ""                       /* 1250 byte string literal not displayed */},
    {`google_analytics.html`, ""             /* 1437 byte string literal not displayed */},
    {`google_analytics_async.html`, ""       /* 906 byte string literal not displayed */},
    {`google_news.html`, ""                  /* 184 byte string literal not displayed */},
    {`opengraph.html`, ""                    /* 3050 byte string literal not displayed */},
    {`pagination.html`, ""                   /* 1742 byte string literal not displayed */},
    {`schema.html`, ""                       /* 1488 byte string literal not displayed */},
    {`shortcodes/__h_simple_assets.html`, "" /* 955 byte string literal not displayed */},
    {`shortcodes/figure.html`, ""            /* 1227 byte string literal not displayed */},
    {`shortcodes/gist.html`, ""              /* 187 byte string literal not displayed */},
    {`shortcodes/highlight.html`, "" /* 150 byte string literal not displayed */},
    {`shortcodes/instagram.html`, ""        /* 433 byte string literal not displayed */},
    {`shortcodes/instagram_simple.html`, "" /* 2053 byte string literal not displayed */},
    {`shortcodes/param.html`, ""            /* 225 byte string literal not displayed */},
    {`shortcodes/ref.html`, `{{ ref . .Params }}`},
    {`shortcodes/relref.html`, `{{ relref . .Params }}`},
    {`shortcodes/twitter.html`, ""        /* 371 byte string literal not displayed */},
    {`shortcodes/twitter_simple.html`, "" /* 1005 byte string literal not displayed */},
    {`shortcodes/vimeo.html`, ""          /* 1221 byte string literal not displayed */},
    {`shortcodes/vimeo_simple.html`, ""   /* 833 byte string literal not displayed */},
    {`shortcodes/youtube.html`, ""        /* 704 byte string literal not displayed */},
    {`twitter_cards.html`, ""             /* 1216 byte string literal not displayed */},
}

EmbeddedTemplates represents all embedded templates.

Directories

PathSynopsis
generate

Package embedded is imported by 21 packages. Updated 2020-08-21. Refresh now. Tools for package owners.