Commit graph

109 commits

Author SHA1 Message Date
panr
2a2122f81c Webpack is back! 2020-09-05 17:46:08 +02:00
panr
0be313316f Init version 2
- Switch to the Hugo Pipes (bye bye Webpack)
- Use Inter from Google Fonts
- Update README
2020-08-09 00:43:49 +02:00
Farrel Mahaztra
ced6be1505
Remove maximum-scale=1 from viewport meta tag
The maximum-scale=1 attribute prevents low-vision users from magnifying the page in some browsers. This isn't applicable to browsers like Safari in iOS 10+, but it would still be ideal to accommodate the aforementioned users for other browsers. Also, this results in a Lighthouse score penalty for accessibility. Alternatively, we could increase maximum-scale to 5 or above if removing it results in a known UI/UX regression I haven't looked into.

Some further reading:
* https://a11yproject.com/posts/never-use-maximum-scale/
* https://web.dev/meta-viewport
* https://www.w3.org/TR/WCAG21/#resize-text
2020-07-10 17:51:52 +07:00
panr
c08fe10125 Update cover styling and show the cover caption also on the list of contents 2020-07-07 18:56:33 +02:00
Zachary Porter
d4d477e3b6 Add coverCaption param to post frontmatter 2020-07-07 18:43:02 +02:00
panr
409741f42c Add collapsable code shortcode 2020-06-19 23:49:21 +02:00
panr
125d85cfbb Update templates 2020-06-17 17:04:46 +02:00
Radek Kozieł
ee2a55ad0b
Merge branch 'master' into PR-rss 2020-05-27 17:00:25 +02:00
Radek Kozieł
ecf77d7031
Merge pull request #141 from aormsby/PR-toc
Add basic Table of Contents for posts
2020-05-27 08:26:11 +02:00
Adam Ormsby
0aad509a70 Merge branch 'PR-rss' of https://github.com/aormsby/FORKED-hugo-theme-hello-friend into PR-rss 2020-05-26 18:51:44 -05:00
Adam Ormsby
b1305f42fa add site param check 2020-05-26 18:48:26 -05:00
Adam Ormsby
005e9fca71 better printf style 2020-05-26 18:38:15 -05:00
Radek Kozieł
5fa9d1589f
Merge branch 'master' into PR-rss 2020-05-27 00:55:30 +02:00
Radek Kozieł
4083e16784
Merge pull request #132 from aormsby/PR-imgproc-pos
Add position param to imgproc shortcode
2020-05-27 00:41:00 +02:00
Adam Ormsby
c046067538 move 404 to layouts/ 2020-05-26 14:02:11 -05:00
Adam Ormsby
f35a6c88a1 add rss image 2020-05-20 13:59:33 -05:00
Adam Ormsby
b4504b35b2 fix img tags 2020-05-20 12:43:00 -05:00
Adam Ormsby
c964eb8ea7 add 404 page with tag list 2020-05-02 17:14:01 -05:00
Adam Ormsby
05c034a966 fix rss top to match hugo internal 2020-04-29 15:13:15 -05:00
Adam Ormsby
9cce3e783e check rssFullText param (new),
display either full content, description, or summary in feed
2020-04-28 23:08:33 -05:00
Adam Ormsby
2583a1c4bf add cover image from front matter,
set auto cover grab as backup following similar hugo standard
2020-04-28 23:08:28 -05:00
Adam Ormsby
b52428a2cf copy internal hugo rss for customization 2020-04-28 23:08:21 -05:00
Hitesh Jasani
f45b762566 Post title should be an H1 element for semantic and search rankings. 2020-04-11 11:03:39 -04:00
Adam Ormsby
f9e72c9d4c add basic table of contents 2020-03-12 23:16:33 +07:00
Adam Ormsby
fa979be419 merge master 2020-02-11 18:13:29 +07:00
panr
9b5783aa11 Add param to hide ReadMore button for a single post 2020-02-05 16:30:19 +01:00
Adam Ormsby
1717d887b6 clean merge files 2020-01-31 15:32:40 +07:00
Adam Ormsby
b7a187917b add local position var 2020-01-29 12:45:05 +07:00
panr
7a69ffcdf8 Small fixes to lastMod feature 2020-01-27 18:29:31 +01:00
Radek Kozieł
a50ce744bd
Merge pull request #107 from aormsby/PR-Improve-LastModDate
Improvement - Add last modified date display to list/single layouts
2020-01-27 18:20:05 +01:00
Adam Ormsby
51d17bbce6 add position param to imgproc just like image and figure 2020-01-23 16:15:18 +07:00
Adam Ormsby
28b6f11618 add comments=false check 2019-12-27 14:51:52 +07:00
Adam Ormsby
d9ade4410a add check for comments param 2019-12-27 14:32:20 +07:00
Adam Ormsby
91ca408bdd disable comments on non-specific page types 2019-12-24 09:32:31 +07:00
panr
95906d6405 Add condition to show pagination only in defined contentType pages 2019-12-18 18:00:08 +01:00
Adam Ormsby
ef213c620d remove trailing brace 2019-12-17 11:44:22 +07:00
Adam Ormsby
285e9e879a add time threshold (1 hr) for last mod display 2019-12-17 11:20:41 +07:00
Adam Ormsby
cbbacd5b5e add panr mods 2019-11-30 13:18:09 +07:00
Adam Ormsby
d12d24411e single and list - add last mod date display, float right
params - add .LastModDisplay string to enable/disable
2019-11-10 14:54:22 +07:00
Adam Ormsby
1dd80e76b5 list layout - check for .Date 2019-11-10 14:53:09 +07:00
Adam Ormsby
45740f99c1 encapsulated the date display in a conditional check to see if there is .Date data to display 2019-11-10 14:40:46 +07:00
panr
03d4390fa9 Change terms page 2019-09-10 10:01:55 +02:00
Thomas Jensen
47cf967ba8 Add terms index 2019-09-04 22:14:43 +02:00
panr
819b0dc373 Fix list.html #87 2019-08-25 09:34:00 +02:00
Radek Kozieł
7427cfa3b4
Fix list template for Hugo 0.57 2019-08-14 23:05:55 +02:00
panr
840dbe0dc4 Add keywords support for a single page 2019-08-08 12:58:13 +02:00
Radek Kozieł
221bd8cc96
Merge pull request #73 from Pizzacus/master
SVG optimisation, Netlify fix, font-related improvements, and header background customisation
2019-08-03 18:43:37 +02:00
panr
88b0b179a0 Add imgproc shortcode 2019-08-03 18:25:45 +02:00
Greg Tzar
286af113f0 Added a prepended_head.html partial to allow custom insertion of scripts and links to be declared before the templates. 2019-07-15 20:38:33 -04:00
Pizzacus
5f61f576b9
Allow Markdown in figure captions 2019-07-11 14:21:22 +02:00