diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/lugo/README.md | 21 | ||||
| -rw-r--r-- | themes/lugo/layouts/_default/baseof.html | 9 |
2 files changed, 7 insertions, 23 deletions
diff --git a/themes/lugo/README.md b/themes/lugo/README.md deleted file mode 100644 index a39a9e8..0000000 --- a/themes/lugo/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Luke's Hugo Theme - -A simple Hugo theme I plan on using for my personal website, [Based.Cooking](https://based.cooking) and [LandChad.net](https://landchad.net). - -## get started - -```sh -hugo new site new-site -cd new-site -git clone https://github.com/lukesmithxyz/lugo themes/lugo -echo "theme = 'lugo'" >> config.toml -cp themes/lugo/static/style.css static/ -``` - -## stuff - -- Makes one RSS feed for the entire site at `/index.xml` -- Stylesheet is in `/style.css` and includes some important stuff for partials. -- If a post is tagged, links to the tags are placed at the bottom of the post. -- `nextprev.html` adds links to the Next and Previous articles to the bottom of a page. -- `taglist.html` links all tags an article is tagged to for related content. diff --git a/themes/lugo/layouts/_default/baseof.html b/themes/lugo/layouts/_default/baseof.html index 57e17ce..f1c41c2 100644 --- a/themes/lugo/layouts/_default/baseof.html +++ b/themes/lugo/layouts/_default/baseof.html @@ -15,6 +15,12 @@ <meta charset="utf-8"> </head> <body> +<ul class="menu-list"> +<li class="menu-item"><a href="{{ .Site.BaseURL }}">λ</a></li> +<li class="menu-item"><a href="{{ .Site.BaseURL }}/tags/projects">Projects</a></li> +<li class="menu-item"><a href="{{ .Site.BaseURL }}/tags">Tags</a></li> +<li class="menu-item" style="float:right"><a href="{{ .Site.BaseURL }}/about">About</a></li> +</ul> {{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} <main> <header><h1 id="tag_{{ .Title }}">{{ block "title" . }}{{ end }}</h1></header> @@ -28,8 +34,7 @@ </main> {{ block "footer" . }} <footer> - <a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a> - {{- if .Param "showrss" }}<br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>{{ end }} + {{- if .Param "showrss" }}<a href="/index.xml">Subscribe to my RSS feed</a>{{ end }} </footer> {{ end }} </body> |
