Commit Graph

254 Commits (6759a28216797bf23b310afcffdd55621d1613ce)

Author SHA1 Message Date
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 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 5a05141743
🩹 Ensure `colorScheme` string is lowercase
Fixes #347
2022-11-08 09:08:28 +11:00
James Panther beebfe0845
🚚 Move logo partial to partials directory 2022-11-07 15:54:21 +11: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
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 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 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 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 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 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 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 de73ae8087
🐛 Fix emoji strings in tables of contents 2022-02-03 15:53:07 +11:00
James Panther 0602108f56
♻️ Adopt Tailwind hover-group classes 2022-02-03 11:07:12 +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 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 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 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 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
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
darkrain-nl 00bf51517e
🐛 Fix error unclosed action in footer.html 2021-12-27 08:41:08 +11:00
James Panther a1006c4f7b
💄 Adopt new Tailwind v3 classes and colour names 2021-12-25 10:53:46 +11:00
James Panther 90f36f8221
️ Improve contrast and other accessibility issues 2021-12-21 13:22:45 +11:00
James Panther bf9d11d23a
Add article last updated date support
(Ref: #43)
2021-12-18 10:07:38 +11:00
James Panther 260030d98f
🔧 Set showWordCount default to false 2021-12-18 09:06:29 +11:00
wizardbyron b4cbe9122b
🌐 Pass .WordCount to i18n function 2021-12-18 08:51:38 +11:00
wizardbyron 65a7228bfc
Add word count to page meta 2021-12-18 08:50:31 +11:00
canstand d70c63d800 🐛 Fix incorrect pagination dates 2021-11-16 14:08:22 +08:00
James Panther 5de5c0a56e
🔀 Merge pull request #26 from Benjamin-Lee/patch-1
Fix article pagination spacing
2021-11-06 14:40:45 +11:00
James Panther ca3581fca7
💄 Adjust leading on article pagination headings 2021-11-06 14:38:33 +11:00
James Panther 32640cac92
💄 Only output icon styles if there is an icon 2021-11-06 13:05:29 +11:00
Benjamin Lee a7c1f25c9c
Fix spacing for pagination dates 2021-11-04 19:53:06 -04:00
James Panther dfd189ee05
🚑 Rename vendor directory to lib 2021-11-04 14:21:14 +11:00
James Panther 4fa7aa4c77
Add author bio to article footer 2021-11-04 10:54:47 +11:00
James Panther 554ae35e6f
Add katex shortcode 2021-11-04 10:06:52 +11:00
James Panther 47d49fcaf0
🚚 Move vendor includes to new partial 2021-11-03 16:52:40 +11:00
James Panther 32522c6399
💄 Add more styles to charts 2021-10-29 17:04:31 +11:00
James Panther 52fd737c58
🔀 Merge branch 'dev' into chart 2021-10-29 16:27:55 +11:00
James Panther 8949c62df2
🐛 Fix article summary style in dark mode 2021-10-29 14:54:46 +11:00
James Panther 210175ba44
🌐 Add i18n strings for appearance toggle 2021-10-29 12:30:42 +11:00
James Panther 81824a1a00
🚧 Add config parameters for dark appearance 2021-10-29 12:07:21 +11:00
James Panther 9d42b7be2b
🚧 Add dark mode toggle button 2021-10-29 11:15:00 +11:00
James Panther 35a35f5e32
🐛 Fix site logo image dimensions unconstrained
Closes #19
2021-10-28 17:19:53 +11:00
James Panther 68c05b97b2
Add chart shortcode 2021-10-28 15:32:27 +11:00
James Panther 6d1c51c037
💄 Add Mermaid theming to match colour scheme 2021-10-28 15:01:19 +11:00
James Panther acbcfacd6f
Add Mermaid as bundled dependency 2021-10-28 12:39:34 +11:00
James Panther 4c13c4d776
💄 Add Markdown and Emoji support to parameters 2021-10-27 10:34:50 +11:00
James Panther db134785e4
🚸 Add sharing links to front matter 2021-10-20 10:44:57 +11:00
James Panther 527d3d101e
⬆️ Upgrade to Mermaid v8.13.3 2021-10-20 10:21:44 +11:00
James Panther 0f15206e78
🌐 Add extra variables to footer for better i18n 2021-10-20 09:31:28 +11:00
James Panther bf81a7a27d
🐛 Fix logo not linked to home page
Closes #13
2021-10-19 17:33:18 +11:00
James Panther 0a59984b44
Add support for article summaries 2021-10-19 17:04:42 +11:00
James Panther 1901917d7c
Add footer menu 2021-10-19 15:45:11 +11:00
James Panther 07562ee7d4
🚸 Make main menu optional 2021-10-19 15:44:23 +11:00
James Panther 4528e36a82
Add option to add a site logo 2021-09-22 12:24:46 +10:00
canstand 962a4875ee Add i18n chinese translation 2021-09-20 11:24:28 +08:00
James Panther 37e8a8bc91
Add `robots` parameters 2021-08-26 10:07:37 +10:00
James Panther f6dceb6233
🏗️ Change URLs to be relative instead of absolute 2021-08-26 09:44:41 +10:00
James Panther da03bddb62
💄 Fix recent header alignment on profile layout 2021-08-25 16:25:45 +10:00
James Panther 83eebaefc0
🐛 Fix Fathom Analytics script included twice 2021-08-25 13:31:53 +10:00
James Panther 5b7aabefa7
️ Changes to address Lighthouse issues 2021-08-22 17:19:42 +10:00
James Panther 0339729039
🐛 Fix externalUrl not working on some list pages 2021-08-22 16:58:25 +10:00
James Panther 72b636b635
💄 Fix badge filling width when unconstrained 2021-08-21 12:23:02 +10:00
James Panther 444dbcd3ca
Add asset fingerprinting and SRI 2021-08-21 12:20:29 +10:00
James Panther d022bc8df7
Add edit links on article pages 2021-08-21 11:42:40 +10:00
James Panther 46a7031a3a
♻️ Use .HasShortcode for mermaid script 2021-08-21 08:54:42 +10:00
James Panther ecfa2d395b
Add multiple colour schemes 2021-08-20 17:02:08 +10:00
James Panther 62703a114b
💄 Fix links missing some styles in Firefox 2021-08-20 13:56:45 +10:00
James Panther c3f30d92ed
💄 Fix some content not centred on profile layout 2021-08-19 16:43:45 +10:00
James Panther c5107ab693
Add JSON-LD structured metadata 2021-08-18 17:06:14 +10:00
James Panther 139706895c
♻️ Move homepage recent articles to partial 2021-08-18 14:35:54 +10:00
James Panther 7030022620
💄 Style updates to enhance design consistency 2021-08-18 12:54:18 +10:00
James Panther 85b0f11c77
Add breadcrumbs 2021-08-18 10:08:06 +10:00
James Panther 64dd424b80
Add i18n support 2021-08-17 16:48:08 +10:00
James Panther c51f34ca35
🐛 Fix incorrect URL when deploying to a subfolder 2021-08-17 11:03:22 +10:00
James Panther 6816ff0666
🐛 Fix author image URLs 2021-08-16 17:42:52 +10:00
James Panther c279dd72cd
Add Hugo schema template 2021-08-16 17:06:59 +10:00
James Panther 9fd42720fd
Add social sharing links 2021-08-16 17:06:35 +10:00
James Panther fe7d59a855
Add badge and button shortcodes 2021-08-16 15:09:21 +10:00
James Panther 7ce10997ce
Add params for hiding date and reading time per article 2021-08-16 14:05:46 +10:00
James Panther 5575d2b43e
🥅 Catch any cases where resources don't exist 2021-08-16 14:04:56 +10:00
James Panther e293f4c509
💄 Add styles for pagination links 2021-08-16 10:41:00 +10:00
James Panther d8473ba7d5
💄 Make section heading more flexible 2021-08-16 10:16:02 +10:00
James Panther ce39d7438e
🐛 Fix showDraftLabel setting not applying 2021-08-16 10:14:51 +10:00
James Panther 7285cac334
Add multiple homepage layouts 2021-08-15 18:41:40 +10:00
James Panther 491d356d15
Add front matter for various display options 2021-08-15 11:21:37 +10:00
James Panther 60a0d89dde
Add draft post indicator 2021-08-14 14:57:31 +10:00
James Panther c24b8ab2e1
Add article pagination links and display params 2021-08-14 14:44:34 +10:00
James Panther 074b1ff11d
Add RSS feeds 2021-08-14 13:54:17 +10:00
James Panther 1b1615476d
📱 Reflow some elements at smaller screen sizes 2021-08-14 13:33:45 +10:00
James Panther ad0fe1db15
Add favicons partial support 2021-08-14 10:47:33 +10:00
James Panther b1168b98dc
🎨 Move heading anchors to render hook 2021-08-13 17:17:32 +10:00