summaryrefslogtreecommitdiff
path: root/layouts
AgeCommit message (Collapse)Author
2025-02-20move inline JS to its own fileOle Mussmann
2025-01-25fix mermaid diagram renderingOle Mussmann
closes #69
2025-01-20fix: change property for nameEduardo Flores
2025-01-20add: fediverse meta tagEduardo Flores
2025-01-16feat(copy-code): To allow user to copy contents within code block to clipboardArun Mathai
fix(ui): corrections told by tomfran fix(ui): add more contrast to button. fix(ui): loading js as deferred
2024-12-25Re-order if statementSenophyx
2024-12-25Adding features to disable comment on specific postSenophyx
2024-11-23move math block to baseof.htmlJuan Pablo Valencia
2024-11-19Merge pull request #50 from jpvg10/translate-datesFrancesco Tomaselli
2024-11-18Merge pull request #49 from runofthemillgeek/feat/heading-anchorsFrancesco Tomaselli
Add article heading anchors
2024-11-18adding support for translating datesJuan Pablo Valencia
2024-11-17Add width and height attrs for local imagesSangeeth Sudheer
Image render hook now computes width/height of local images and adds them as attributes. This patch also adds relevant CSS changes to prevent stretchy images. The main reason for this change is to avoid content shifts when images load. Without providing width/height, browser doesn't have info to know the aspect ratio to reserve some space until the image loads. With this change, browser knows the intrinsic size and aspect-ratio to reserve space and avoid content shifts in the page. I believe this also fixes an issue I face in Safari where sometimes, an image below the fold wouldn't load and thus have zero height because it has loading="lazy". To avoid images getting stretched and images overflow/filling the entire screen when their intrinsic size is larger than the container size, I've added some CSS. A configurable `max-height` is present which is used for `figure img` elements. This especially helps when you have tall images like mobile screenshots.
2024-11-17Add article heading anchorsSangeeth Sudheer
Adds heading anchors (#) that appear when user hovers over headings in articles. Clicking the anchor will scroll viewport until heading is aligned to top and update the address bar with the hash. This makes it easy to copy URLs that link to a specific heading in the article.
2024-10-31Support relative paths in markdown imagesSangeeth Sudheer
Adds code from Hugo's built-in render-image hook and modifies it slightly to support relative image paths in markdown files. Previously, we'd have to spell the absolute path from root of the hugo site or make directories for each individual post which is what Hugo recommend. But this was very inefficient. This change allows us to use editors like Obsidian, VSCode and have them render the images correctly. It also supports Hugo's page bundles for rendering images as a result. Based on the order, I believe page bundles are given priority so that works out. i.e, if you have the following tree: ``` content └── posts ├── _index.md ├── hello.md ├── images │ └── test.png └── test.png ``` You can now include images in `hello.md` in the following ways: ``` ![](test.png) ![](images/test.png) ![](./test.png) ![](./images/test.png) ```
2024-10-29Merge pull request #38 from runofthemillgeek/feat/link-main-title-to-home-pageFrancesco Tomaselli
2024-10-28Make header title a link to base URL (home page)Sangeeth Sudheer
This is a common pattern found in many sites. I've also added styling to remove the underline.
2024-10-28Add support for Open Graph tagsSangeeth Sudheer
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-10single view: markdownify summaryFrank Villaro-Dixon
The summary is not markdownified, and thus we see the md content on the summary. This fixes that
2024-09-20add support for Mermaid diagramssimon-siggaard
2024-09-15fix: set deaflt value of showFooter as trueArun
2024-09-15feat: show generic footerArun
2024-09-14feat: Content License and Copyright holder as FooterArun
2024-09-02Merge pull request #19 from vxnick/umami-for-productionFrancesco Tomaselli
Enable Umami analytics in Production only
2024-09-02Enable Umami analytics in Production onlyNick Savage
This will prevent analytics collection when testing locally.
2024-09-02Allow the date/time format on the single template to be overriddenNick Savage
Example: ```toml [params] singleDateFormat = '2 January 2006' ```
2024-08-25Not show breadcrumbs on homepageFrancesco
2024-08-21Removed duplicated favicon.ico entryFrancesco
2024-08-21feat(partials): allow setting of favicon pathMaahir Ur Rahman
chore(partials): add explicit links for all favicon types
2024-08-13Uniform umami and comments inclusionFrancesco
2024-08-13Merge branch 'main' into mainFrancesco Tomaselli
2024-08-12Add RSS feed linkJesse Rusak
2024-08-11Update header.html and add support for UmamiP家单推人
- Updated header.html with necessary changes. - Added support for Umami along with relevant configurable options. - Included a new umami.html file for tracking.
2024-07-27header partial: replace deprecated .Path access with lower .Namefrancoposa
2024-07-19Implement Canonical URLArpit Gupta
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-06-29Color pallettes and hide header modeFrancesco
2024-06-24Updated single paginationFrancesco
2024-06-24Pagination on single postsFrancesco
2024-06-09Added color palettesFrancesco
2024-06-02Fixed tags display on postsFrancesco
2024-05-26Added meta descriptionsFrancesco
2024-05-23Image tags for sizingFrancesco
2024-05-21MinorFrancesco
2024-05-21MinorFrancesco
2024-05-19Secondary color, tweaked widthFrancesco
2024-05-16Back to top buttonFrancesco
2024-05-11MinorFrancesco
2024-05-11Breadcrumbs and tagsFrancesco
2024-05-11Merge branch 'main' into tmpFrancesco
2024-05-11FormatFrancesco
2024-05-06Breadcrumbs tmpFrancesco