Adrian Short
3db489020b
Add tags icon to page title
7 年之前
Adrian Short
36f20716c6
Link directly to Bootstrap CDN for Font Awesome
7 年之前
Adrian Short
673332654a
Define an HTML header block
7 年之前
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 年之前
Adrian Short
8096748c7d
Move to base templates and blocks
As opposed to the old way of including header/footer partials in every template.
For some reason, /themes/<THEME>/layouts/taxonomies/tag.terms.html doesn't work as a block but the default terms template /themes/<THEME>/layouts/_default/terms.html does.
7 年之前
Adrian Short
ef9989bbda
Add social media links
7 年之前
Adrian Short
969c98ca61
Add /via links for attribution
You can add a via: param to the front matter of any content type but I've only included it in the archtectypes for the types that are likely to need it. Close #18
7 年之前
Adrian Short
315ba453eb
Add link styles
7 年之前
Adrian Short
c486e31ae8
Tweak quotes single layout #6
7 年之前
Adrian Short
2061f3a188
Add single layout stylesheets for all content types
Ensure that every content type has its own stylesheet even if it's blank otherwise you'll get 404 errors
7 年之前
Adrian Short
4eae0e8a85
Add stylesheet for post type single layout
7 年之前
Adrian Short
eabe679e89
Permit a single layout stylesheet for each content type
Eg: /css/post.css
7 年之前
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 年之前
Adrian Short
0f7c0cd34d
Permalink is now part of the tags.html partial
7 年之前
Adrian Short
2905b27047
Add OpenGraph image tag and Twitter cards #8 #9
7 年之前
Adrian Short
033102d579
Set colours for image single layout
7 年之前
Adrian Short
8f4d9cf3ae
Tidy list item layout
7 年之前
Adrian Short
6b5ac8fad9
Add basic 404 page
Note how this is used in different server environments:
https://gohugo.io/templates/404/#automatic-loading
7 年之前
Adrian Short
899ec087a3
Improve tag cloud layout #12
7 年之前
Adrian Short
0c24098e8c
Don't duplicate the video summary on the single template
7 年之前
Adrian Short
3d1a833089
Show permalinks in list views
7 年之前
Adrian Short
fd001cca1d
Remove visible RSS link and section nav
7 年之前
Adrian Short
69eeeb8aaf
Add Google Analytics. Close #13
Put your site ID in your config.toml:
googleAnalytics = "UA-123-45"
7 年之前
Adrian Short
4a63c7899c
Improve paginator styles
7 年之前
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 年之前
Adrian Short
6b32dfd55d
Use default list template instead of tag-specific one
7 年之前
Adrian Short
3309fdceac
Fix git clone target dir
7 年之前
Adrian Short
61dbc3ad4a
Do styling in CSS not HTML
7 年之前
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 年之前
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 年之前
Adrian Short
73d02f1db8
Remove unused fields
7 年之前
Adrian Short
faadf79a4b
Add README
7 年之前
Adrian Short
4c457910ed
Initial commit
7 年之前