Working with Static Sites by Raymond Camden
Author:Raymond Camden
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2017-03-14T16:00:00+00:00
<div class="docs-content"> {{ range $name, $taxonomy := .Site.Taxonomies.categories }} <h2>{{ $name | title }}</h2> {{ range $taxonomy.Pages }} <h3 id="{{ .LinkTitle | urlize }}">{{ .Title }}</h3> {{ .Content }} <hr> {{ end }} {{ end }} </div>
Once you save this page, Hugo will automatically regenerate the site files and refresh the open browser window with your finished site (Figure 4-7).
Figure 4-7. The completed LOLCode documentation site
Clicking on any of the links in the navigation should now correctly scroll to the appropriate section of the page. You should also notice that code blocks are appropriately colored.
Congrats! You’re done with your first documentation site built with Hugo. The completed code for this sample can be found on the GitHub repository for this book.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7803)
Grails in Action by Glen Smith Peter Ledbrook(7717)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6440)
Kotlin in Action by Dmitry Jemerov(5087)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3916)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3347)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(3099)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2885)
The Art Of Deception by Kevin Mitnick(2620)
Drugs Unlimited by Mike Power(2477)
The Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution by Walter Isaacson(2422)
A Blueprint for Production-Ready Web Applications: Leverage industry best practices to create complete web apps with Python, TypeScript, and AWS by Dr. Philip Jones(2369)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2318)
Writing for the Web: Creating Compelling Web Content Using Words, Pictures and Sound (Eva Spring's Library) by Lynda Felder(2274)
SEO 2018: Learn search engine optimization with smart internet marketing strategies by Adam Clarke(2200)
JavaScript by Example by S Dani Akash(2149)
DarkMarket by Misha Glenny(2094)
Wireless Hacking 101 by Karina Astudillo(2090)
Hands-On Cybersecurity with Blockchain by Rajneesh Gupta(2066)
