Commit graph

51 commits

Author SHA1 Message Date
Corné Haasjes
3865ee6a19 Fix get_hook function 2025-04-01 20:31:57 +02:00
Corné Haasjes
fe5d64c3c8 Add support for hooks in layouts/partials/hooks
Supported hooks:

- head_start
- head_end
- body_end
- footer_start
2025-04-01 19:38:31 +02:00
Francesco Tomaselli
aed9e11824
Merge pull request #100 from runofthemillgeek/feat/og-image-partial
Add partial to customize og:image meta property
2025-04-01 11:20:48 +02:00
Francesco
f7bca2a764 Nowrap on pagination control 2025-03-19 19:30:01 +01:00
Sangeeth Sudheer
1cbe2066ec
Add partial to customize og:image meta property
Adds a new partial — `head/og-image.html` — that will render the value to be used
for `og:image` meta tags. The changes preserve the existing Hugo OpenGraph template's
behavior of checking and using the frontmatter or specific format of image names
as the `og:image` but if that doesn't work, it will delegate to the default partial which
uses `assets/images/og-image.{ext}` as the image.

This partial can be overriden to allow dynamic `og:image` URLs via a third-party service.

`_internal/opengraph.html` source is copied from Hugo to customize and support
this feature. Docs are updated to mention its usage.
2025-03-15 15:28:05 +05:30
Sangeeth Sudheer
5bbe13fd43
Add breadcrumbs config to hide current page and change home text
Changes `breadcrumbs` config into an object to add customizations such as hiding current page and changing the text of
the home crumb.

By default, Typo will now show breadcrumbs. If breadcrumbs are enabled, the current default of showing the
current page crumb is preserved.

BREAKING CHANGE: `breadcrumbs` is now an object so existing `breadcrumbs = <true/false>` line in config needs to be changed.
2025-03-09 01:50:55 +05:30
Vasily Negrebetskiy
e9936b2d04 Added the old Twitter logo; added myself to the list of users 2025-03-07 13:44:56 +04:00
Francesco
51595b675d Cleanup breadcrumbs 2025-02-20 12:26:16 +01:00
Francesco
2082a9856f Update breadcrumbs style 2025-02-19 23:27:32 +01:00
Eduardo Flores
f277baeee1 fix: change property for name 2025-01-20 22:49:24 +01:00
Eduardo Flores
1696c8e99a add: fediverse meta tag 2025-01-20 22:40:24 +01:00
Francesco
2658baf36e Updated SVG icons 2025-01-06 23:47:31 +01:00
Francesco
8db773b556 Replace existing social icons definition with 3227 icons from Simple Icons 2024-11-27 21:40:02 +01:00
Juan Pablo Valencia
241671f2b9 move math block to baseof.html 2024-11-23 13:07:57 +02:00
Juan Pablo Valencia
3e7e8a78f6 adding support for translating dates 2024-11-18 20:10:31 +02:00
Francesco Tomaselli
a3a29cf470 Merge pull request #38 from runofthemillgeek/feat/link-main-title-to-home-page 2024-10-29 17:04:10 +01:00
Sangeeth Sudheer
a405e509ec Make header title a link to base URL (home page)
This is a common pattern found in many sites. I've also added styling
to remove the underline.
2024-10-28 14:10:57 +05:30
Sangeeth Sudheer
e1c2bf3313 Add support for Open Graph tags
This change will allow us to use the `images` property in frontmatter to display a cover image when sharing links to content in social media.

Open Graph support is provided out of the box with Hugo and is a one-line change. See docs: https://gohugo.io/templates/embedded/#open-graph
2024-10-28 11:33:32 +05:30
Arun
9f5d10de22 fix: set deaflt value of showFooter as true 2024-09-15 21:30:25 +05:30
Arun
1ec074201b feat: show generic footer 2024-09-15 00:00:26 +05:30
Arun
f3000f6830 feat: Content License and Copyright holder as Footer 2024-09-14 00:40:35 +05:30
Nick Savage
26232b2879 Enable Umami analytics in Production only
This will prevent analytics collection when testing locally.
2024-09-02 20:26:50 +01:00
Francesco
6664932d9f Removed duplicated favicon.ico entry 2024-08-21 19:45:38 +02:00
Maahir Ur Rahman
8516f3dad6 feat(partials): allow setting of favicon path
chore(partials): add explicit links for all favicon types
2024-08-21 07:53:04 +07:00
Francesco
4d5bfd1f21 Uniform umami and comments inclusion 2024-08-13 19:29:25 +02:00
Francesco Tomaselli
72631ca8e8 Merge branch 'main' into main 2024-08-13 19:22:12 +02:00
Jesse Rusak
0fefcec71d Add RSS feed link 2024-08-12 17:13:32 -04:00
P家单推人
095bd354c4 Update header.html and add support for Umami
- Updated header.html with necessary changes.
- Added support for Umami along with relevant configurable options.
- Included a new umami.html file for tracking.
2024-08-11 12:18:49 +08:00
francoposa
c7cc1c5965 header partial: replace deprecated .Path access with lower .Name 2024-07-27 15:39:07 -07:00
Arpit Gupta
edafaa1e7d Implement Canonical URL
This change adds canonical URL to all pages.

Reference: https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#rel-canonical-link-method
2024-07-19 16:17:53 +05:30
Francesco
a0d1480b4e Color pallettes and hide header mode 2024-06-29 21:29:58 +02:00
Francesco
327dd6fffe Updated single pagination 2024-06-24 18:58:20 +02:00
Francesco
d4f49c1c1a Pagination on single posts 2024-06-24 18:44:39 +02:00
Francesco
4445d756e5 Updated svg icons 2024-06-17 17:22:13 +02:00
Francesco
14082d9032 Added color palettes 2024-06-09 14:39:48 +02:00
Francesco
dbafb5051b Added meta descriptions 2024-05-26 19:12:55 +02:00
Francesco
5fd1088462 Breadcrumbs and tags 2024-05-11 22:48:26 +02:00
Francesco
bdee1c7d39 Merge branch 'main' into tmp 2024-05-11 22:14:41 +02:00
Francesco
c8cfbe555d Format 2024-05-11 22:13:47 +02:00
Francesco
1a5d0d46a1 Breadcrumbs tmp 2024-05-06 21:53:29 +02:00
nyms7
ca11f2c2bb feat: add giscus support 2024-05-06 15:19:49 +08:00
Francesco
0b3f9e6afd Added custom css 2024-05-01 12:54:42 +02:00
Francesco
68dc3b17ba Added custom list entries date format config 2024-04-30 22:29:00 +02:00
Francesco
0a3f759770 Added list summaries configuration, tweaked social icons margin on mobile 2024-04-30 22:17:59 +02:00
Francesco
dcdf269fa1 Fixed overflow on Katex for mobile, woff2 for Literata 2024-04-29 00:05:22 +02:00
Francesco
a61147bb9f Updated Readme and replaced MathJax with Katex 2024-04-28 23:17:39 +02:00
Francesco
96d6b7d3f4 Removed unnecessary math.js load 2024-04-24 14:53:00 +02:00
Francesco
e8307cdcac Minor 2024-04-24 00:01:25 +02:00
Francesco
303266ac28 Theme Update 2024-04-22 19:49:53 +02:00
Francesco
599bb0806b Theme Update 2024-04-22 13:29:17 +02:00