Commit Graph

333 Commits (a396fe6269d8f1857ba16292cd68fbe780516f3e)

Author SHA1 Message Date
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
gtitov 30afa1a9c0 🩹Fix jpanther/congo#313 ordering content 2022-10-14 00:20:34 +03:00
Nuno Coração e7d7b6e80d
External links will open on a new tab 2022-10-09 17:20:24 +01:00
Michael Dorner 8921e27e16
Fix issue
Fixes issues of Hugo throwing the following error: `_default/term.html:16:14: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages`
2022-09-02 11:45:55 +02:00
James Panther ffaca3f5ce
🐛 Fix appearance switcher title when switching
Fixes #235
2022-08-18 16:13:30 +10:00
James Panther dbe75271ff
🐛 Fix article update date not using formatted values
Fixes #259
2022-08-18 15:57:01 +10:00
James Panther 73e16a25a2
🎨 Standardise Tailwind CSS class order 2022-08-18 14:59:46 +10:00
James Panther c0494b25a4
🩹 Fix main content alignment under menu overlay 2022-06-28 09:47:30 +10:00
James Panther a8f98205c9
🥅 Add build warning when old theme params found 2022-06-27 13:12:26 +10:00
James Panther e2b7af1e72
Add header layouts and hamburger menu layout
Ref #167, #88, #43, #29
2022-06-27 12:31:15 +10:00
James Panther efbeceaa4f
💥 Move footer parameters to their own sub-group 2022-06-27 10:30:07 +10:00
James Panther aa102e67de
💄 Clean up article link styles 2022-06-27 10:16:36 +10:00
James Panther 5ebc70ab3a
🐛 Fix external article link alignment and add RTL support 2022-06-25 15:31:08 +10:00
James Panther 337e355ba2
💄 Reduce whitespace at the top of prose content
Ref #226
2022-06-25 14:53:34 +10:00
James Panther 6fc462136f
Improve layout of comments and add params to toggle display
Ref #207
2022-06-25 14:17:44 +10:00
James Panther f007a1f294
🩹 Improve scroll to top link alignment 2022-06-25 13:04:41 +10:00
James Panther 31c7cca31d
Add theme parameters to customise site footer 2022-06-25 12:42:02 +10:00
James Panther 971e8b631d
🐛 Fix homepage link when `baseURL` contains sub-directories in path 2022-06-25 11:00:20 +10:00
James Panther bdf9928443
🐛 Fix search only returning results in primary language
Fixes #229
2022-06-25 10:48:27 +10:00
James Panther 460a5ad822
🚸 Expand search to include all page types 2022-06-25 10:44:35 +10:00
James Panther 84e5e46971
🐛 Fix search not showing when main menu empty 2022-06-25 10:40:24 +10:00
James Panther 7c6453fd30
🐛 `headline` not displaying Markdown or Emoji 2022-06-22 12:15:05 +10:00
James Panther 97313e9f04
️ Use author name for images when available 2022-06-22 12:14:10 +10:00
James Panther d427baf0e1
Add front matter support for `showBreadcrumbs` 2022-05-26 11:43:19 +10:00
James Panther 3b3d78afaf
🐛 Fix main content not growing to window height
Fixes #201
2022-05-25 13:57:24 +10:00
James Panther 612cd8f8b4
🐛 Fix code blocks in RTL languages
Fixes #164
2022-05-01 11:17:30 +10:00
James Panther 00daa189d0
🔥 Remove generator tag to revert to default Hugo behaviour
Fixes #179
2022-05-01 10:53:27 +10:00
James Panther 04a44fcd07
🐛 Fix scroll to top link alignment
Fixes #172
2022-05-01 10:19:32 +10:00
James Panther 6e56d2daa1
🩹 Check `hugo.IsProduction` when including analytics
Ref #179
2022-04-25 11:12:02 +10:00
James Panther 972233063c
🐛 Fix scroll to top link alignment
Fixes #172
2022-04-12 09:17:17 +10:00
James Panther 272e1a26f2
🔀 Merge pull request #165 from MoshiBin/patch-1
🌐 Fix footer menu display in RTL
2022-04-03 14:08:05 +10:00
Miki Vanusek a13b35c505
💄 Hide navigation during printing 2022-04-03 13:51:52 +10:00
Moshi Binyamini 7f7e440861
🌐 Fix footer menu display in RTL 2022-04-01 03:37:32 +03:00
James Panther adb065b79d
🍱 Upgrade to FontAwesome 6 icons 2022-03-09 16:13:36 +11:00
James Panther e5021c9d30
🚸 Allow icon to be specified in `alert` shortcode 2022-03-09 15:14:09 +11:00
James Panther c1857711ed
Add `simple` page layout for full-width content
Fixes #139
2022-03-08 10:46:26 +11:00
James Panther 74677d9c6d
💄 Update styles on term list heading 2022-03-08 10:43:56 +11:00
James Panther 694848a95a
🔀 Merge pull request #145 from igalarzab/patch-1
Use the group by year var in the term partial
2022-03-08 10:13:40 +11:00
James Panther 3f9c6bf08e
🚸 Allow img fallback to assets/static directories
Fixes #126
2022-03-08 09:51:19 +11:00
Jose Galarza 99e9038705
Use the group by year var in the term partial 2022-03-07 13:41:58 +00:00
James Panther d1387f79f8
🐛 Fix underline styles not displaying correctly
Fixes #125
2022-02-20 14:36:36 +11:00
James Panther a29efce7c0
🐛 Fix homepage structrued data unparsable
Fixes #113
2022-02-13 18:00:38 +11:00
James Panther a041f09f6f
🩹 Fix `.Lastmod` shown when same as `.Date` 2022-02-13 17:44:30 +11:00
James Panther 7d6be8a999
🐛 Emojify JSON output for search results 2022-02-08 09:00:35 +11:00
James Panther d8c2534762
💄 Fix `main` not filling screen vertically 2022-02-07 09:37:59 +11:00
James Panther 39c1b7d04a
🐛 Fix appearance pref not loading early enough
Fixes #102
2022-02-06 15:10:59 +11:00
James Panther 88946105fd
⚰️ Remove redundant appearance parameter check
Ref #102
2022-02-06 14:46:03 +11:00
James Panther 60a62e2b4b
🚸 Prevent image processing on external URLs 2022-02-06 11:26:37 +11:00
James Panther 09d2e410c8
🐛 Stop site appearance taking priority over user
Fixes #102
2022-02-05 19:19:47 +11:00
James Panther de73ae8087
🐛 Fix emoji strings in tables of contents 2022-02-03 15:53:07 +11:00
James Panther e9ce1e3214
🐛 Fix JSON output duplicated items 2022-02-03 11:46:21 +11:00
James Panther 54d74316d3
🚸 Allow `figure` to revert to default behaviour 2022-02-03 11:37:09 +11:00
James Panther 0602108f56
♻️ Adopt Tailwind hover-group classes 2022-02-03 11:07:12 +11:00
James Panther 053a03d429
💄 Add rounded border to images 2022-01-31 09:14:30 +11:00
James Panther e465eaeb33
🩹 Update robots.txt template 2022-01-27 15:58:01 +11:00
James Panther 53eeda3770
♻️ Change language `htmlCode` to `isoCode` 2022-01-27 15:42:05 +11:00
James Panther d86d1b82be
♻️ Dark mode rewrite 2022-01-27 15:26:18 +11:00
James Panther 734fa6e827
🚸 Add breadcrumbs section name fallback 2022-01-27 11:39:36 +11:00
James Panther add3f764f7
Add code copy buttons 2022-01-26 10:49:30 +11:00
James Panther 1d4816f90a
Add option to invert article pagination 2022-01-24 17:05:50 +11:00
James Panther b59137e458
🌐 Add better i18n support for article metadata 2022-01-24 13:58:19 +11:00
James Panther 61d80cf13d
🔀 Merge branch 'dev' into v2 2022-01-24 12:05:43 +11:00
Carlos Beleña 6313f69328
🔧 Revert to Date.Format instead of time.Format 2022-01-24 00:38:55 +01:00
James Panther c33724c960
💄 Fix article metadata text wrapping 2022-01-24 09:14:13 +11:00
Carlos Beleña 63a1f0719f
🐛 Fix calling date partial 2022-01-23 22:33:19 +01:00
Carlos Beleña c9bb4b0b63
💄 Adjust metadata output 2022-01-23 20:28:50 +01:00
James Panther 1857637094
🚚 Move site description to languages config 2022-01-20 16:08:18 +11:00
James Panther 8319bddf04
Add support for content on taxonomy pages 2022-01-20 14:08:52 +11:00
James Panther a60d255f04
💄 Fix alert Markdown styling 2022-01-19 13:56:59 +11:00
James Panther b1a418d705
🔀 Merge branch 'dev' into v2 2022-01-19 13:52:03 +11:00
James Panther dcd5dd0ec9
♻️ Add search to JS asset bundle 2022-01-19 12:13:42 +11:00
Rishi Maharaj 32a01325de 🐛 fix ordering of safeHTML and emojify 2022-01-18 16:58:52 -08:00
James Panther 7992ce0035
🥅 Catch when no JS required in bundle 2022-01-19 11:52:49 +11:00
James Panther e67c9d0d28
️ Bundle css and js assets using Hugo pipes 2022-01-19 11:28:20 +11:00
Rishi Maharaj d61ea9f694 🐛 add emojify on remaining .Title, .Site.Title, and metas 2022-01-18 16:24:15 -08:00
James Panther 0f34dcfa05
💄 Minor style tweaks to improve consistency 2022-01-19 10:25:48 +11:00
Rishi Maharaj 80533d8641 🐛 add emojify for title on list page and browser / tab title 2022-01-18 14:15:23 -08:00
James Panther ce75bc1179
💄 Add cursor to TOC header 2022-01-19 08:34:05 +11:00
James Panther b99b6a8750
Add scroll to top link 2022-01-18 17:26:46 +11:00
James Panther acc4aee752
Add Tables of Contents to articles 2022-01-18 16:24:33 +11:00
James Panther ace158ed42
🔍 Add more detail to JSON-LD structured data 2022-01-17 15:56:08 +11:00
James Panther ad495ca9ef
♻️ Adopt new Tailwind typography theming 2022-01-17 14:14:52 +11:00
James Panther 30fad56aed
♻️ Reduce repetition in main CSS 2022-01-17 13:21:21 +11:00
James Panther 97b2de72eb
Add taxonomies on article and list pages 2022-01-17 10:16:57 +11:00
James Panther adaa7b757e
Add site search powered by Fuse.js 2022-01-13 15:56:30 +11:00
James Panther e9c8a4a049
️ Add "skip to main content" links 2022-01-12 15:53:24 +11:00
James Panther a70353d5c0
🥅 Catch icon resource not found error 2022-01-12 14:25:25 +11:00
James Panther 3b5b93d965
Add image resizing and srcset generation 2022-01-12 14:21:22 +11:00
James Panther 9ead2c33e8
Add `headline` parameter to author 2022-01-12 12:32:29 +11:00
James Panther ca5d0bd057
️ Improve Lighthouse scores 2022-01-12 12:20:04 +11:00
James Panther 5a775a49bd
♻️ Refactor vendor inline JS to bundles 2022-01-12 11:20:59 +11:00
James Panther 4754607fb5
♻️ Refactor dark mode inline JS to dark.js 2022-01-12 10:15:41 +11:00
James Panther 2043921232
💄 Add smooth scrolling behaviour 2022-01-12 00:08:38 +11:00
James Panther cdf56a1e11
🌐 Add RTL language support 2022-01-11 16:17:49 +11:00
James Panther 1b9b660abe
🚚 Move author image to assets 2022-01-11 12:29:21 +11:00
James Panther 6eab5f95fb
🌐 Use language specific date formats 2022-01-11 12:13:18 +11:00
James Panther 9c8601102c
🌐 Add language switcher to header 2022-01-11 12:00:27 +11:00
James Panther 3997ee3a20
🔀 Merge branch 'dev' into v2 2022-01-09 10:23:09 +11:00
James Panther 55677da695
🐛 Fix JSON-LD keywords delimiter
Fixes #74
2022-01-07 14:50:15 +11:00
James Panther 4ca9f334cb
🐛 Fix lead shortcode not rendering Markdown
Fixes #73
2022-01-05 10:13:23 +11:00
Antoine Soetewey 5c9438e952
Update date.html
When following this [workflow](https://bookdown.org/yihui/blogdown/workflow.html), there is an error when serving the site :

```
Launching the server via the command:
  /Users/antoinesoetewey/Library/Application Support/Hugo/0.82.0/hugo server --bind 127.0.0.1 -p 4321 --themesDir themes -t congo -D -F --navigateToChanged
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:11:11: executing "main" at <partial "article-meta.html" (dict "context" . "scope" "single")>: error calling partial: execute of template failed: template: partials/article-meta.html:16:36: executing "partials/article-meta.html" at <partial "meta/date.html" .>: error calling partial: "/Users/antoinesoetewey/Documents/GitHub/elsaetantoine/themes/congo/layouts/partials/meta/date.html:2:24": execute of template failed: template: partials/meta/date.html:2:24: executing "partials/meta/date.html" at <.Site.Params.article.dateFormat>: invalid value; expected string
```

By adding these parentheses, the site is served without any error.

Regards,
Antoine
2021-12-27 12:06:09 +01:00