Commit Graph

89 Commits

Author SHA1 Message Date
5fb449a8e7
Add srcset to images 2021-10-21 13:35:43 -05:00
b599ddeadd
Use a single figure shortcode that does either image or video 2021-10-19 14:19:23 -05:00
96067c95c0
Automatically add the featured media to individual posts 2021-10-19 14:01:35 -05:00
937a80bc17
Use <figure> for images and videos 2021-10-19 13:57:39 -05:00
61ac27bdf9
Use page resources in figure shortcode (and hash the images) 2021-10-19 13:12:38 -05:00
b51c6c257f
Add figure shortcode 2021-10-19 12:40:34 -05:00
c4e7258d69
Tweak formatting of the copyright footer 2021-10-18 17:29:39 -05:00
1c6d88333f
Make <hr> inside the footer instead of outside 2021-10-18 14:52:43 -05:00
3e799b0418
Support categories
Fixes #31
2021-10-18 14:17:16 -05:00
f56b9028b3
Support a copyright notice footer 2021-10-17 20:17:12 -05:00
a3a5163b5e
All posts should be under a div instead of only when there's none 2021-10-16 19:51:11 -05:00
2ceda80f74
Revert "Plainify the title field in <head>"
This reverts commit 34605bb8e2.

It causes an issue with characters such as quotes in the website title
2021-10-15 19:31:04 -05:00
92352a0c19
Fix #11 - better syntax highlighting
This requires the following to be added to config.toml:

[markup]
  [markup.highlight]
    noClasses = false
    lineNos = true
2021-10-15 19:16:14 -05:00
34605bb8e2
Plainify the title field in <head> 2021-10-15 18:51:58 -05:00
40331b4c1c
Move taxonomy related list page to a different file 2021-10-15 18:13:14 -05:00
a02da46706
Use absolute URLs in a couple cases where relative ones were used 2021-10-15 17:45:03 -05:00
e7f9240383
Set crossorigin="anonymous" on the CSS
This helps with Netlify
2021-10-13 20:35:38 -05:00
e62ccfd085
Remove partialCached for now because I'm worried of it causing issues
It didn't last very long. Speed isn't really a concern currently since
my sites all generate in ~50ms (on my computer, at least).
2021-10-11 21:35:16 -05:00
93ce39fdac
Update the post metadata logic 2021-10-11 21:29:16 -05:00
7276be72e9
Add a language switcher bar below the navbar 2021-10-11 21:26:23 -05:00
47adfd5f7d
List translations on pages 2021-10-11 20:50:09 -05:00
0d6aed2b18
Don't force the homepage to be named "Home" on the navbar 2021-10-11 20:13:20 -05:00
c7cfb9c844
Support multilingual mode (experimental)
Please report any bugs!
2021-10-11 18:24:14 -05:00
03834fb1ba
Add caching to some partials that don't change much 2021-10-11 09:52:24 -05:00
9ff5314bc0
Use with in head.html and add code block section to CSS 2021-10-10 19:36:47 -05:00
ddbcaa6d56
Don't show modified date if git commit is shown
It's redundant
2021-10-10 19:03:15 -05:00
1b59b258bc
Move the header link icon to the end 2021-10-10 17:47:45 -05:00
f0cddf7e42
Add icon to drafts
Fix #23
2021-10-10 17:28:05 -05:00
fddb7ab0e4
Support section icons 2021-10-10 16:27:46 -05:00
c40be2bcd7
Change modified date to use an edit icon 2021-10-10 16:20:02 -05:00
b923054bd3
Enable the section header link icon 2021-10-10 15:14:36 -05:00
ff79ae29b5
Add header link icon but commented out because it looks weird 2021-10-10 15:02:20 -05:00
c233b8122f
Show certain metadata on all pages 2021-10-09 22:54:33 -05:00
cc20b09e8e
Clean up after the last commit 2021-10-09 22:33:18 -05:00
f3274c67fc
Add git commit, improve post metadata wrapping 2021-10-09 22:17:24 -05:00
3dfcec2350
Add an hr to separate post metadata from the content
Previously it was only present when table of contents was enabled
2021-10-09 20:33:42 -05:00
9bb2b0c41c
Correctly replace the name for svgs 2021-10-09 19:31:38 -05:00
6d976a3909
It meant to use the hugo function, not variable 2021-10-09 18:56:03 -05:00
f062a98a75
Use the global .Hugo variable instead of the Page one 2021-10-09 18:53:22 -05:00
98587c94ae
Don't enable reading time and word count by default 2021-10-09 18:44:36 -05:00
3242d892b5
Update og:video code 2021-10-09 18:31:05 -05:00
b2a5a6acaf
Set generator tag in html 2021-10-09 18:09:01 -05:00
c8874736ea
Update post-metadata to use a partial, and add word count 2021-10-09 18:08:27 -05:00
4dc429ce5d
Only include pagination div if there's pagination 2021-10-09 17:40:49 -05:00
fa3f9b7a51
Use the actual svg instead of feather-sprite.svg for icons 2021-10-09 17:32:35 -05:00
c74ce0597c
.Description should be in a <p> 2021-10-09 16:02:26 -05:00
05ed7c33d2
Fix .Summary in summary.html 2021-10-09 15:23:33 -05:00
a015238834
Use .Render for summary 2021-10-09 15:16:24 -05:00
9beed385a8
Use a custom opengraph template and rename feature-video to just feature 2021-10-09 14:09:02 -05:00
2616803f47
Support featured videos (instead of image) 2021-10-08 22:52:58 -05:00