├── exampleSite ├── static │ └── .gitkeep ├── config.toml └── content │ ├── index.md │ ├── roadmap │ └── index.md │ ├── adding-content │ └── index.md │ └── getting-started │ └── index.md ├── archetypes └── default.md ├── images ├── tn.png └── screenshot.png ├── static ├── favicon.ico └── css │ ├── highlight.css │ ├── pygments.css │ ├── alabaster.css │ └── basic.css ├── layouts ├── _default │ ├── single.html │ └── baseof.html ├── 404.html ├── index.html ├── shortcodes │ └── admonition.html └── partials │ ├── sidebar │ ├── donate.html │ ├── menu.html │ ├── relations.html │ ├── sidebar.html │ └── buttons.html │ ├── footer.html │ └── head.html ├── theme.toml ├── LICENSE.md └── README.md /exampleSite/static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | menu: "" 3 | weight: 0 4 | --- 5 | -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digitalcraftsman/hugo-alabaster-theme/master/images/tn.png -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digitalcraftsman/hugo-alabaster-theme/master/static/favicon.ico -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/digitalcraftsman/hugo-alabaster-theme/master/images/screenshot.png -------------------------------------------------------------------------------- /layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
{{ .Get "title" }}
3 |{{ string .Inner | markdownify }}
4 |4 | Consider supporting the authors on Gratipay: 5 | 6 |
7 | {{- end }} 8 | -------------------------------------------------------------------------------- /layouts/partials/sidebar/menu.html: -------------------------------------------------------------------------------- 1 | {{ if ne .Site.Menus.main nil }} 2 | {{ if gt (len .Site.Menus.main) 0 }} 3 |
13 |
14 | {{- end }}
15 |
--------------------------------------------------------------------------------
/layouts/partials/sidebar/sidebar.html:
--------------------------------------------------------------------------------
1 |
22 |
23 |
--------------------------------------------------------------------------------
/exampleSite/config.toml:
--------------------------------------------------------------------------------
1 | baseurl = "https://example.org/"
2 | languageCode = "en-us"
3 | metadataformat = "yaml"
4 | title = "Alabaster"
5 | theme = "hugo-alabaster-theme"
6 |
7 | disqusShortname = ""
8 | googleAnalytics = ""
9 |
10 | [params]
11 | name = "Alabaster"
12 | description = "A documentation theme for Hugo."
13 |
14 | github_user = "digitalcraftsman"
15 | github_repo = "hugo-alabaster-theme"
16 | github_banner = true
17 |
18 | custom_css = []
19 | custom_js = []
20 |
21 | highlightjs = "css/highlight.css"
22 | favicon = "favicon.ico"
23 |
24 | [params.sidebar]
25 | logo = "favicon.ico"
26 |
27 |
28 | github_button = true
29 | travis_button = false
30 | codecov_button = false
31 | gratipay = ""
32 |
33 | show_relations = true
34 |
35 | [params.footer]
36 | copyright = "[Digitalcraftsman](https://github.com/digitalcraftsman)"
37 | show_powered_by = true
38 |
--------------------------------------------------------------------------------
/layouts/_default/baseof.html:
--------------------------------------------------------------------------------
1 |
3 |
4 | {{ partial "head" . }}
5 |
6 |
7 | 6 | 8 |
9 | {{- end }} 10 | 11 | {{ if .Site.Params.sidebar.travis_button -}} 12 |
13 |
14 |
18 |
19 |
24 |
25 |
29 |
30 |