Commit graph

117 commits

Author SHA1 Message Date
Radek Kozieł
e6504a8bd7
Merge pull request #225 from thomasjsn/master
Move post cover to partial
2021-11-01 14:44:26 +01:00
Francisco Albornoz
c7bf511567 Fix tags links in multilingual
When using multiple languages the tags links on the blogposts header use always the main language base URL (even when you're on post on other language). This PR fixes that
2021-08-01 00:25:23 -04:00
Adrian Todorov
48d9246368 add the ability to disable table of contents per-page/post 2021-03-10 18:11:09 +01:00
Thomas Jensen
02105f748b move post cover to partial 2021-01-09 22:58:50 +01:00
Christian Humm
7ce166690f Fix .Summary
Fixes the display of .Summary by removing markdownify from it.
2020-09-11 16:12:28 +02:00
panr
c9cc01c603 Fixes. 2020-09-10 00:22:33 +02:00
panr
83c6d7a5e6 Refactor code & install prettier-plugin-go-template 2020-09-10 00:19:52 +02:00
shinytoyrobots
4c9276c71d Added custom alt text functionality to post cover images 2020-09-09 00:32:46 -05:00
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