|
You are here |
discourse.gohugo.io | ||
| | | | |
sam.hooke.me
|
|
| | | | | The home page of Sam Hooke. | |
| | | | |
roneo.org
|
|
| | | | | Create a file layouts/_default/_markup/render-link.html: {{- .Text | safeHTML -}} Alternative, use if you get a buggy HTML output (if empty paragraphs are inserted when using Shortcodes for example) {{ . | |
| | | | |
hjr265.me
|
|
| | | | | I like that the Markdown renderer in Hugo automatically adds an id attribute to the headings in the content. This allows you to link to a specific section in a long article. But, I wanted to make it easy for people to get that link. Hugo doesn't do that by default, but makes it very easy to do with Markdown render hooks. By using the following as the render hook for headings, I am able to show a small link icon next to the headings in my blog posts: | |
| | | | |
log.schemescape.com
|
|
| | | Tired of bloat, I made a new static site generator that is 5x faster and 50x smaller than my last effort. And this one runs on x86 NetBSD. | ||