diff --git a/Makefile b/Makefile index 611e8fa..c302e52 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ DOCKER_TAG := latest all: serve serve: - hugo serve -D --bind 0.0.0.0 -b http://${DEV_IP}:1313/ + sudo docker run --rm -it -p 1313:1313 -v ${PWD}:/src/ klakegg/hugo serve -D -b http://${DEV_IP}:1313/ build: sudo docker build --no-cache -t ${DOCKER_IMAGE}:${DOCKER_TAG} . diff --git a/hugo.toml b/hugo.toml index 3f73db5..3ae5801 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,7 +2,7 @@ baseurl = "https://annabunches.net/" languageCode = "en-us" theme = "hugo_theme_pickles" Title = "Anna and the Bunches" -copyright = "© Anna Wiggins, 2006-2023" +copyright = "© Anna Wiggins, 2006-2024" # Google Analytics API key. googleAnalytics = "G-QFK0K7MGCJ" @@ -11,6 +11,8 @@ googleAnalytics = "G-QFK0K7MGCJ" paginate = 10 custom_css = ["/css/custom.css", "/css/spoiler.css"] dateFormat = "2006-01-02" + hideWordCount = true + hideReadingtime = true # Disqus shortname # disqus = "" # author = "Your Name" diff --git a/layouts/page/single.html b/layouts/page/single.html deleted file mode 100755 index 717e32f..0000000 --- a/layouts/page/single.html +++ /dev/null @@ -1,51 +0,0 @@ -{{ partial "header.html" . }} -{{ $baseurl := .Site.BaseURL | sanitizeurl }} -<article class="p-article"> - <header> - <div> - {{ range .Params.tags }} - <a href="{{ $baseurl }}/tags/{{ . | urlize }}" class="c-tag">{{ . }}</a> - {{ end }} - </div> - </header> - {{ with .Params.thumbnail }} - <img src="{{ . }}" alt="thumbnail" class="p-article__thumbnail"> - {{ end }} - <section id="js-article" class="p-article__body"> - {{ .Content }} - </section> - <footer> - {{ with ($.Param "disqus") }} - <div id="disqus_thread"></div> - <script> - var disqus_shortname = '{{ . }}'; - (function() { - var d = document, s = d.createElement('script'); - s.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; - s.setAttribute('data-timestamp', +new Date()); - (d.head || d.body).appendChild(s); - })(); - </script> - <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> - {{ end }} - <nav class="p-pagination c-pagination"> - <div class="c-pagination__ctrl"> - <div class="c-pagination__newer"> - {{ if .NextInSection }} - <a href="{{ .NextInSection.Permalink }}">Newer</a> - {{ else }} - {{ end }} - </div> - <div class="c-pagination__older"> - {{ if .PrevInSection }} - <a href="{{ .PrevInSection.Permalink }}">Older</a> - {{ else }} - {{ end }} - </div> - </div> - </nav> - {{ partial "related.html" . }} - {{ partial "siteinfo.html" . }} - </footer> -</article> -{{ partial "footer.html" . }} diff --git a/themes/hugo_theme_pickles b/themes/hugo_theme_pickles index e3b33f2..cefcae5 160000 --- a/themes/hugo_theme_pickles +++ b/themes/hugo_theme_pickles @@ -1 +1 @@ -Subproject commit e3b33f2711edb23129ea2baf0b1604c2f2978ce0 +Subproject commit cefcae57251c2707a07bc5f9c579feeea77b1e6c