diff --git a/README.org b/README.org index 77e3b95..c2ce74b 100644 --- a/README.org +++ b/README.org @@ -38,10 +38,13 @@ The demo site doesn't look pretty, I know .. because: /See [[https://themes.gohugo.io/][Hugo Themes]] for examples of really good site prettification and presentation styles./ +** Actual usage examples +- [[https://scripter.co]] -- My blog * Documentation See this README and the [[https://github.com/kaushalmodi/ox-hugo/wiki][*Wiki*]] for more! * Table of Contents - [[#demo][Demo]] + - [[#actual-usage-examples][Actual usage examples]] - [[#documentation][Documentation]] - [[#screenshots][Screenshots]] - [[#why-ox-hugo][Why =ox-hugo=?]] diff --git a/doc/ox-hugo-manual.org b/doc/ox-hugo-manual.org index 3e6ce75..d8196d9 100644 --- a/doc/ox-hugo-manual.org +++ b/doc/ox-hugo-manual.org @@ -121,6 +121,8 @@ The demo site doesn't look pretty, I know .. because: /See [[https://themes.gohugo.io/][Hugo Themes]] for examples of really good site prettification and presentation styles./ +*** Actual usage examples +- [[https://scripter.co]] -- My blog ** Documentation See this README and the [[https://github.com/kaushalmodi/ox-hugo/wiki][*Wiki*]] for more! ** Table of Contents :TOC: diff --git a/test/example-site/config.toml b/test/example-site/config.toml index e4572ae..12f36cd 100644 --- a/test/example-site/config.toml +++ b/test/example-site/config.toml @@ -1,11 +1,23 @@ baseURL = "http://example.org/" languageCode = "en-us" -title = "My Org-exported Hugo Site" +title = "ox-hugo Example Site" theme = "bare_min" canonifyURLs = true enableEmoji = true enableGitInfo = true +[Params] + descr = """This is the test/example site for the + ox-hugo package for Emacs/Org-mode. + [Back to home] +

It is updated automatically after each commit to the repo (thanks Netlify!). + Visit the repo link above for more information.

+ +
""" + [[menu.main]] name = "labs" weight = -110 diff --git a/test/example-site/themes/bare_min/layouts/_default/baseof.html b/test/example-site/themes/bare_min/layouts/_default/baseof.html index e87c86b..859584c 100644 --- a/test/example-site/themes/bare_min/layouts/_default/baseof.html +++ b/test/example-site/themes/bare_min/layouts/_default/baseof.html @@ -6,15 +6,18 @@ {{ if eq .URL "/" }} - {{ .Site.Title }} + {{ .Site.Title }} {{ else }} - {{ .Title }} ❚ {{ .Site.Title }} + {{ .Title }} ❚ {{ .Site.Title }} {{ end }} {{ block "head" . }}{{ end }} +

{{ .Site.Title }}

+
{{ .Site.Params.descr | safeHTML }}
+ {{ block "main" . }}{{ end }}