Adrian Short
d33067ae6b
Add charset tag for UTF-8
6 years ago
Adrian Short
36f20716c6
Link directly to Bootstrap CDN for Font Awesome
7 years ago
Adrian Short
673332654a
Define an HTML header block
7 years ago
Adrian Short
e5517ee98a
Use Font Awesome icons for social links
Inspired by @mgjohansen's Hucore theme: https://themes.gohugo.io/hucore/
This is a flexible approach that lets the user use any FA icons with whatever links they like. Better than forcing them to stick to a predefined set of social networks.
7 years ago
Adrian Short
ef9989bbda
Add social media links
7 years ago
Adrian Short
eabe679e89
Permit a single layout stylesheet for each content type
Eg: /css/post.css
7 years ago
Adrian Short
c463ad7d90
Standardise image_filename page param to image; use for post type as well as image type
Used for og:image meta tag
7 years ago
Adrian Short
2905b27047
Add OpenGraph image tag and Twitter cards #8 #9
7 years ago
Adrian Short
fd001cca1d
Remove visible RSS link and section nav
7 years ago
Adrian Short
f831fcae03
Use a partial to build the <title> tag and RSS link title
Code from Minimo theme:
https://github.com/MunifTanjim/minimo/blob/master/layouts/partials/data/title
Thanks @MunifTanjim .
7 years ago
Adrian Short
7c3134ca08
Add RSS autodiscovery tag
.RSSLink uses the RSS URL for the given context: the site feed for the home page, the tag feed for tag pages, no URL given for single pages.
7 years ago
Adrian Short
de8ccb0806
Add generator tag and comment link to theme code
How to preserve HTML comments in Go templates:
https://discourse.gohugo.io/t/how-to-add-comments-in-a-template/75/8
7 years ago
Adrian Short
4c457910ed
Initial commit
7 years ago