gyorb / hugo-dusk Goto Github PK
View Code? Open in Web Editor NEWSimple, minimalistic dark theme for Hugo.
License: MIT License
Simple, minimalistic dark theme for Hugo.
License: MIT License
In README.md:
The following lines should be above [author]
, else they become part of it.
SectionPagesMenu = "main"
# use Chroma for syntax highlight
pygmentsStyle = "native" # other dark style options: vim, fruity, monokai
# enable syntax highlight for code blocks
pygmentsCodeFences = true
Add related content support, available since v0.27.
disqus localhost check can be removed see #3639 Fixed since Hugo v0.25
hugo-dusk/layouts/partials/disqus.html
Lines 5 to 14 in 01b9311
add config option to support color scheme selection color-dark.css
is the default
since v0.20.0 plain text partials can be used to inline CSS styles
Any combination of site baseURL, canonifyURLs, and relativeURLs always results in improper tag generation on the tags list page. So far the only work around I've found is setting baseURL to the setting canonifyURLs to true then creating a symlinkg from $publishDir."/tags/tags/" to $publishDir."/tags/".
Basically the URL for the tags/index.html always end up with tags/tags/.
For further reference, see gohugoio/hugo#811 and https://discourse.gohugo.io/t/footnote-problems-with-markdown/504/2
since v0.28 the default syntax highlighter in Hugo is Chroma use that instead of highlight.js
add support for multilingual mode
Looks like variables this theme relies on have been deprecated.
execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header.html" .>: error calling partial: "themes/hugo-dusk/layouts/partials/header.html:4:3": execute of template failed: template: partials/header.html:4:3
: executing "partials/header.html" at <partial "head.html" .>: error calling partial: "themes/hugo-dusk/
layouts/partials/head.html:7:8": execute of template failed: template: partials/head.html:7:8: executing "partials/head.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
Hi,
Firstly, I want you to know that I really like this theme. Thank you for maintaining it.
I have run into one issue, but it may not be an issue with your theme. I am using org-mode footnotes and the anchors are linking to the home page rather than the post that they are linked from / to. I read the section on links and cross references and it suggests that the anchor should be exported with the pages unique identifier, but when I inspect the element I can see that the anchor has no unique identifier. Since it is missing the unique identifier I started to wonder if it is perhaps an issue with the theme, but I have no idea. Have you tried using footnotes? Do you know how to make org-mode footnotes work as expected?
I am currently using hugo v0.46
You time is appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.