Commit Graph

333 Commits (78560462ca7abf89ad50f542f793dcab33acf42e)

Author SHA1 Message Date
James Panther 70f668e644
🐛 Fix empty `li` output when no locales available
Fixes #678
2023-10-26 13:30:47 +11:00
James Panther 7810026589
🐛 Fix extra whitespace added in render hooks
Fixed #679
2023-10-25 09:11:10 +11:00
James Panther 92eb1f638e
🔀 Merge pull request #655 from stereobooster/portable-links
Portable markdown links
2023-10-24 11:14:57 +11:00
James Panther 1c8e681dee
🐛 Fix theme colour error when site is in dark mode
Fixes #676
2023-10-24 10:53:16 +11:00
stereobooster 95f04231af add rel=noreferrer 2023-10-23 01:55:35 +02:00
James Panther 26ff31bb24
🔀 Merge pull request #658 from micah-svenson/dev
Add page context to the extend-head feature
2023-10-23 09:11:25 +11:00
James Panther 5b9c42f5cb
🔀 Merge pull request #671 from bboykarlito/taxonomies-display-issue
Fixed taxonomies display issue
2023-10-23 09:06:38 +11:00
James Panther a8522ffe38
♻️ Refactor head partial to better align to standards 2023-10-23 08:55:29 +11:00
Illia Aladin c99f28dcd3 Fixed taxonomies display issue 2023-10-17 10:39:33 +03:00
micah-svenson 7fd252073a 🐛 add page context to the extend-head feature 2023-09-23 22:41:31 -06:00
stereobooster 74e53cc7d2 Markdown portable links 2023-09-19 06:59:55 +02:00
James Panther f31082dec8
🚸 Remove env check in robots.txt generation
Fixes: #620
2023-09-12 11:37:25 +10:00
James Panther 5a4c8b5450
🔀 Merge pull request #645 from stereobooster/provide-width-height
Provide width and height for images
2023-09-12 09:46:58 +10:00
James Panther ad8a1b0390
Add new locale picker and related improvements
Closes: #583
2023-09-12 09:22:49 +10:00
stereobooster 22e1f1727e More images 2023-09-11 08:40:21 +02:00
stereobooster 30d506af0f Provide width and height for images 2023-09-11 08:28:56 +02:00
James Panther f34a827cea
🐛 Don't lazy load prominent images
Fixes: #591
2023-09-10 10:38:54 +10:00
James Panther 743104db52
🐛 Remove array from LD+JSON data
Fixes: #596
2023-09-10 10:20:10 +10:00
James Panther 154b499b56
🔀 Merge pull request #605 from sorairolake/update/deprecated-link
🩹 Replace deprecated shortened URL
2023-08-14 10:05:38 +10:00
Shun Sakai c8c3aa6d54 🩹 Replace deprecated shortened URL 2023-07-16 05:20:52 +09:00
Dejavu Moe 467ebf9e05
keep the parameters consistent 2023-06-26 14:24:39 +08:00
Dejavu Moe 35ead410c7
refactor: plausible support 2023-06-25 15:51:45 +08:00
Dejavu Moe d4d6698168
add plausible analytics 2023-06-16 10:22:49 +08:00
James Panther 4138925778
🔀 Merge pull request #552 from tomy0000000/lazy-load-image-by-default
 feat: Lazy load image by default
2023-06-04 10:28:17 +10:00
James Panther 8ab314f864
🐛 Fix `copyright` string not referenced correctly
Fixes: #572
2023-06-04 10:26:15 +10:00
James Panther 7ec5faff37
🐛 Correctly display available translations in header
Fixes: #565
2023-06-04 10:20:41 +10:00
Tomy Hsieh b67f0a7c73
🛠 fix: icon padding in menus 2023-06-01 19:09:31 +08:00
Tomy Hsieh 0d4fe03a45
🛠 fix: Syntax error 2023-05-27 05:48:29 +08:00
Tomy Hsieh 88c73a3aae
feat: Make image lazy load togglable 2023-05-27 05:31:23 +08:00
Tomy Hsieh adf7f6f224
feat: Lazy load image in all places 2023-05-27 05:26:57 +08:00
Tomy Hsieh 159aaae1e5
Merge branch 'jpanther:dev' into lazy-load-image-by-default 2023-05-27 05:17:50 +08:00
James Panther 3f866acd50
Open sharing links in new window 2023-05-25 14:32:09 +10:00
James Panther 50c5d212de
🚨 Support new language params changes in Hugo 2023-05-25 14:12:42 +10:00
James Panther aba3d34482
Add `fingerprintAlgorithm` parameter
Fixes: #478
2023-05-25 13:58:30 +10:00
James Panther ed21519b5b
🔀 Merge pull request #527 from mchlebosz/dev
author.image SmartCrop Issue
2023-05-25 12:49:43 +10:00
James Panther 85ecc6c7d0
📝 Update docs 2023-05-25 12:42:43 +10:00
Simon Spannagel 99c70fd751
Add Dark Logo Variant Option 2023-05-25 12:36:22 +10:00
James Panther 5f35753c4c
🔀 Merge pull request #533 from declan-haojin/dev
Add dark mode logo option
2023-05-25 12:27:03 +10:00
Lars Bilke d96fcff619
Context in warnings.html is already .Site.
Fixes a build issue with Hugo 0.112.0.

Fixes #560.
2023-05-24 08:54:13 +02:00
Tomy Hsieh 82a44935be
feat: Lazy load image by default 2023-05-08 17:04:55 +07:00
Haojin Li 08bda9879a Add dark mode logo option 2023-04-13 04:10:03 -04:00
MChlebosz dacf98f197
author.image SmartCrop Issue 2023-04-07 00:40:56 +02:00
James Panther 1a9a76d532
💄 Adopt logical properties for RTL styling 2023-04-05 10:50:15 +10:00
James Panther 9e76d16476
🔀 Merge pull request #511 from uschmidt83/search-dates
 Respect `showDate` in search results
2023-03-29 15:09:16 +11:00
Uwe Schmidt 7afb18671b
Respect `showDate` in search results
Also hide date for list pages, which don't have their date shown in the theme.
2023-03-24 13:49:09 +01:00
Uwe Schmidt 5fae5fea82
Adjust whitespace for `srcset` links 2023-03-23 18:52:41 +01:00
James Panther fcffdfd8a6
🐛 Prevent analytics partial from being cached
Fixes #480
2023-03-05 08:58:13 +11:00
James Panther 1f96038a60
🐛 Remove whitespace at EOF in render-link
Fixes #453
2023-01-24 08:37:50 +11:00
Connick Shields 0a7b3f23de
🐛 Fix URL safety declaration for author links
https://gohugo.io/functions/safeurl/

> Without safeURL, only the URI schemes http:, https: and mailto: are considered safe by Go templates.

By adding `safeURL`, we allow different types of links like `tel:` to work properly in author bios.
2023-01-21 22:47:08 -08:00
Tomy Hsieh c7c9d46d52
🛠 fix: links render hook 2023-01-18 04:51:29 +08:00
James Panther 28a187895f
Allow appearance switcher to be placed in menus 2023-01-17 12:58:04 +11:00
David Rothera 36215c47b0
Add leading-relaxed to tag list 2023-01-16 23:04:16 +00:00
James Panther dfaa87222a
Add menu icon support and flexible search link 2023-01-16 14:21:03 +11:00
James Panther 7e970f4c97
Add SVG support to article featured images 2023-01-15 10:38:53 +11:00
James Panther 3bfc6ae439
♻️ Refactor figure shortcode to reduce repetition 2023-01-14 11:24:41 +11:00
James Panther af7067b86f
🚸 Add support for article images in front matter
Ref #381
2023-01-13 13:02:32 +11:00
James Panther 138d2bf7bb
🚸 Prevent scaling images smaller than article width
Fixes #394
2023-01-13 11:41:28 +11:00
James Panther 66209846d5
🐛 Fix hamburger menu positioning in mobile browsers
Fixes #399
2023-01-13 09:04:34 +11:00
James Panther c678ff6408
🔀 Merge pull request #439 from davidrothera/article-link-fix
Fix a11y issues with article-link
2023-01-13 07:47:41 +11:00
David Rothera 9a39318a1f
Fix a11y issues with article-link 2023-01-11 23:42:03 +00:00
David Rothera 177e9be2b9
Add aria-label to button 2023-01-11 23:19:49 +00:00
James Panther 3fcd6211a8
Add `keywords` front matter support 2023-01-10 16:33:33 +11:00
James Panther 172ac4fc9a
♻️ Rename `showRecentItems` to `recentLimit` 2023-01-10 15:32:01 +11:00
Gautier 42cdeb24e8
Update recent-articles.html 2023-01-10 15:32:00 +11:00
James Panther a1b11a6a04
🐛 Fix social icons shifting on hover in Safari
Fixes #396
2023-01-09 18:26:34 +11:00
Konstantin Pavlov 5e8d30c305
Fix render-image.html for SVG
SVG images do not support resizing, so `srcset/src` attributes should be simplified
2022-12-28 10:31:55 +02:00
James Panther 308192bedc
🚸 Don't cache extend partials 2022-11-22 11:03:28 +11:00
James Panther 447ce2f52a
🚸 Set `theme-color` using theme colour scheme 2022-11-22 09:55:20 +11:00
James Panther 4679ce485c
🚸 Support live switching of `theme-color` 2022-11-22 09:35:17 +11:00
James Panther 62c4d20caa
💄 Add support for `theme-color` meta tag
Fixes: #343
2022-11-22 09:03:23 +11:00
James Panther 8804b099f8
🔀 Merge pull request #378 from glennr:gr/meta-description
Fix: unique meta descriptions from articles
2022-11-21 14:46:01 +11:00
James Panther a8fab1950d
🎨 Minor formatting adjustment 2022-11-21 14:42:37 +11:00
Glenn Roberts 2739549fae Fix: unique meta descriptions from articles
fixes 🐛 #377

The Meta description tag is now generated from either
1. page description, or
2. Page content summary, or
3. Site wide config
2022-11-21 13:11:25 +10:00
James Panther 2aa46c6fee
📦 Update to Chart.js v4.0.1 2022-11-21 13:56:13 +11:00
James Panther eb573dc1b9
🐛 Recent articles should always display 5 links 2022-11-14 13:24:57 +11:00
James Panther 7970511402
🐛 Fix last pagination link displayed twice 2022-11-14 13:23:44 +11:00
James Panther 6a904413a8
🐛 Fix list page doesn't render nested list pages
Fixes #365
2022-11-14 13:22:15 +11:00
James Panther 632bcb0df8
🐛 Remove duplicate pagination on term page
Fixes #366
2022-11-14 10:43:45 +11:00
James Panther 023678f628
💫 Add transitions to author/article nav links 2022-11-10 12:36:05 +11:00
James Panther 8a1dbe4777
Add site title display toggle 2022-11-10 11:32:43 +11:00
James Panther 4367628ebe
Add new hybrid header layout
Ref: #282
2022-11-10 10:52:11 +11:00
James Panther c9cf3c5f6b
Add article thumb, cover and feature images 2022-11-09 09:30:26 +11:00
James Panther c630e69e32
🐛 Add additional markup to multilingual links
Fixes #298
2022-11-08 13:15:58 +11:00
James Panther a84e0049fc
🐛 Allow content area to grow to fill page width
Fixes #302
2022-11-08 12:55:31 +11:00
James Panther 0de45c0135
♻️ Use `.Data.Pages` in place of counting `.Pages` 2022-11-08 12:38:24 +11:00
James Panther 8941a33a3e
🔀 Merge pull request #289 from michaeldorner:dev
Fix error calling Paginate
2022-11-08 12:32:08 +11:00
James Panther c58bde0126
🥅 Catch when no articles exist 2022-11-08 12:31:05 +11:00
James Panther 6dd4f6cb81
Complete rewrite of pagination logic
- Add a new `paginationWidth` parameter to control how many links are output
- Fix pagination links overflow page

Fixes #299
2022-11-08 12:15:25 +11:00
James Panther 65385b92ba
🔀 Merge pull request #326 from mhulse/feature/taxonomy-flag-list
 Independent control of taxonomy display on list AND single pages
2022-11-08 09:51:03 +11:00
James Panther e71c392bef
🐛 Fix button shortcode overlapping TOC
Fixes #337
2022-11-08 09:28:19 +11:00
James Panther 5a05141743
🩹 Ensure `colorScheme` string is lowercase
Fixes #347
2022-11-08 09:08:28 +11:00
James Panther 2f0b35f94f
🔀 Merge pull request #317 from gtitov/dev
🩹 Fix #313 ordering content in a list layout
2022-11-07 17:46:40 +11:00
James Panther 8b2a5e02d8
🔀 Merge pull request #349 from cgutierr-zgz/dev
Update button to add download tag
2022-11-07 16:36:42 +11:00
James Panther a6a0ecdb07
✏️ Reformat code 2022-11-07 16:31:28 +11:00
James Panther d5aa644975
🔀 Merge pull request #322 from mhulse:header-logo-file
 Move logo to its own partial
2022-11-07 15:55:46 +11:00
James Panther beebfe0845
🚚 Move logo partial to partials directory 2022-11-07 15:54:21 +11:00
James Panther 5005274953
🩹 Remove whitespace around link text 2022-11-07 15:43:53 +11:00
Carlos Gutiérrez Moreno 475bed99cf
Update button to add download tag 2022-11-06 13:09:56 +01:00
Michael Hulse 4b318084bc Independent control of taxonomy display on list AND single pages
Sensible defaults: `.Params` will trump article and list `showTaxonomies` settings.
2022-10-19 22:34:18 -07:00
Michael Hulse 1a98f70180 Move logo to its own partial 2022-10-18 20:42:13 -07:00