summaryrefslogtreecommitdiff
path: root/layouts/_default
AgeCommit message (Collapse)Author
2024-08-16Fix bug in bold/italics regexNicholas Johnson
Bold/italics regex must not match greedily.
2024-07-04Remove accidentally-introduced extra newlineNicholas Johnson
2024-06-28Revert "Don't add rel="noreferrer" to non-web links"v1.3.5Nicholas Johnson
This reverts commit f34e453196b85e756b16f5ff668d15c2462948e6778657907ff52821d360309b. Adding rel="noreferrer" to non-http-prefixed links was believed to be a noop, but this overlooks relative links. For privacy reasons, relative links must not send referrer headers.
2024-06-18Correct reference index countingv1.3.4Nicholas Johnson
2024-06-11Save link index in mapNicholas Johnson
This removes the need to recount.
2024-06-11Work around slices bug in Hugo v0.114.0 or newerNicholas Johnson
I used a slice of maps instead of a slice of slices, as recommended in the Hugo issue tracking the bug: https://github.com/gohugoio/hugo/issues/11131#issuecomment-1601769489
2024-05-20Fix Gemini incorrectly rendering (un)ordered listsNicholas Johnson
2024-05-02Give rationale for bold/italics codev1.2.5Nicholas Johnson
2024-05-02Improve bold/italics regexNicholas Johnson
2024-05-02Improve commentsNicholas Johnson
2024-05-02Correct heading regexNicholas Johnson
2024-05-02Don't match newlines in link regexNicholas Johnson
2024-02-04Fix end of comment delimiterv1.2.3Nicholas Johnson
The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied.
2024-02-04Add missing multiline regex option for ol'sNicholas Johnson
2024-01-01Add missing asterisk for unordered listsv1.2.2Nicholas Johnson
2023-12-31Convert Markdown's ol to gemtext's ulv1.2.0Nicholas Johnson
2023-12-31Add support for alternative heading syntaxv1.1.0Nicholas Johnson
2023-12-02Add titles to linksNicholas Johnson
2023-12-02Don't add rel="noreferrer" to non-web linksNicholas Johnson
2023-12-02Add referrerpolicy="noreferrer" to imagesNicholas Johnson
2023-12-02Lazy load inline imagesNicholas Johnson
2023-11-03Make layout spacing consistentv1.0.8Nicholas Johnson
2023-11-03Use superscripted reference numbers for linksNicholas Johnson
The implementation is ugly, but I couldn't find another way to accomplish this.
2023-09-09Add brackets around link index numbersNicholas Johnson
2023-08-25Simplify link reference printing logicNicholas Johnson
2023-08-25Make copyright notice mandatoryNicholas Johnson
Requiring a copyright notice forces the user to make clear to readers what their rights are with the capsule/site content. This also makes templates simpler.
2023-08-25Fix spacing heading spacing for single.gmiNicholas Johnson
2023-08-25Fix single page Gemini metadata spacingNicholas Johnson
2023-08-25Fix single.gmi reference spacingNicholas Johnson
2023-08-25Make single.html more readableNicholas Johnson
2023-08-25Fix </main> spacing in single.htmlNicholas Johnson
2023-08-25Fix Gemini footer spacingNicholas Johnson
2023-08-25Fix Gemini header spacingNicholas Johnson
2023-08-25chomp() user contentNicholas Johnson
User content may contain newlines at the end of files, which create problems for spacing in Gemini.
2023-08-25Prefer right-aligned whitespace eliminationNicholas Johnson
2023-08-25Remove EOLs in embedded layoutsNicholas Johnson
2023-08-25Remove non-breakable spacesNicholas Johnson
2023-08-02Rename links var to referencesNicholas Johnson
2023-08-01Add multilingual support for single pagesNicholas Johnson
2023-07-31Add multilingual support for homepage linkNicholas Johnson
2023-05-16Fix gemini comment spacingv0.5.6Nicholas Johnson
2023-05-09Fix base layout i18nv0.5.4Nicholas Johnson
2023-05-09Make non-critical page elements optionalv0.5.2Nicholas Johnson
2023-05-09Document gemini single page rendererNicholas Johnson
2023-05-09Fix extraneous matchesNicholas Johnson
2023-05-09Change variable nameNicholas Johnson
2023-05-05Allow whitespace in Markdown linksNicholas Johnson
2023-05-05Add link title support to GeminiNicholas Johnson
2023-05-05Replace findRE with findRESubmatch where possibleNicholas Johnson
2023-05-05Don't unnecessarily generate chunk refsNicholas Johnson