aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
Commit message (Collapse)AuthorAge
* Map ref numbers to their superscripts using dictNicholas Johnson6 days
| | | | | This removes the extra iterations over reference numbers caused by using the replace function.
* Change CSS styling for external linksNicholas Johnson2024-11-08
|
* Add "external" to rel attribute for external linksNicholas Johnson2024-11-08
|
* Remove incorrect safeHTML callNicholas Johnson2024-11-08
|
* Stop safeHTML overuse in emojis for readabilityNicholas Johnson2024-11-08
|
* Replace replaceRE with TrimSuffix for readabilityNicholas Johnson2024-11-08
|
* Set Gemini protocolNicholas Johnson2024-11-08
| | | | | This avoids littering the gemtext templates with regex to change the protocol.
* Disable HTML renderer for Gemini output formatNicholas Johnson2024-11-07
| | | | This avoids littering the gemtext templates with "safeHTML".
* Convert remaining tabs to spacesNicholas Johnson2024-11-07
|
* Fix bug in bold/italics regexNicholas Johnson2024-08-16
| | | | Bold/italics regex must not match greedily.
* Remove accidentally-introduced extra newlineNicholas Johnson2024-07-04
|
* Revert "Don't add rel="noreferrer" to non-web links"v1.3.5Nicholas Johnson2024-06-28
| | | | | | | | 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.
* Correct reference index countingv1.3.4Nicholas Johnson2024-06-18
|
* Save link index in mapNicholas Johnson2024-06-11
| | | | This removes the need to recount.
* Work around slices bug in Hugo v0.114.0 or newerNicholas Johnson2024-06-11
| | | | | | | 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
* Fix Gemini incorrectly rendering (un)ordered listsNicholas Johnson2024-05-20
|
* Give rationale for bold/italics codev1.2.5Nicholas Johnson2024-05-02
|
* Improve bold/italics regexNicholas Johnson2024-05-02
|
* Improve commentsNicholas Johnson2024-05-02
|
* Correct heading regexNicholas Johnson2024-05-02
|
* Don't match newlines in link regexNicholas Johnson2024-05-02
|
* Fix end of comment delimiterv1.2.3Nicholas Johnson2024-02-04
| | | | | The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied.
* Add missing multiline regex option for ol'sNicholas Johnson2024-02-04
|
* Add missing asterisk for unordered listsv1.2.2Nicholas Johnson2024-01-01
|
* Convert Markdown's ol to gemtext's ulv1.2.0Nicholas Johnson2023-12-31
|
* Add support for alternative heading syntaxv1.1.0Nicholas Johnson2023-12-31
|
* Add titles to linksNicholas Johnson2023-12-02
|
* Don't add rel="noreferrer" to non-web linksNicholas Johnson2023-12-02
|
* Add referrerpolicy="noreferrer" to imagesNicholas Johnson2023-12-02
|
* Lazy load inline imagesNicholas Johnson2023-12-02
|
* Make layout spacing consistentv1.0.8Nicholas Johnson2023-11-03
|
* Use superscripted reference numbers for linksNicholas Johnson2023-11-03
| | | | | The implementation is ugly, but I couldn't find another way to accomplish this.
* Add brackets around link index numbersNicholas Johnson2023-09-09
|
* Simplify link reference printing logicNicholas Johnson2023-08-25
|
* Make copyright notice mandatoryNicholas Johnson2023-08-25
| | | | | | 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.
* Fix spacing heading spacing for single.gmiNicholas Johnson2023-08-25
|
* Fix single page Gemini metadata spacingNicholas Johnson2023-08-25
|
* Fix single.gmi reference spacingNicholas Johnson2023-08-25
|
* Make single.html more readableNicholas Johnson2023-08-25
|
* Fix </main> spacing in single.htmlNicholas Johnson2023-08-25
|
* Fix Gemini footer spacingNicholas Johnson2023-08-25
|
* Fix Gemini header spacingNicholas Johnson2023-08-25
|
* chomp() user contentNicholas Johnson2023-08-25
| | | | | User content may contain newlines at the end of files, which create problems for spacing in Gemini.
* Prefer right-aligned whitespace eliminationNicholas Johnson2023-08-25
|
* Remove EOLs in embedded layoutsNicholas Johnson2023-08-25
|
* Remove non-breakable spacesNicholas Johnson2023-08-25
|
* Rename links var to referencesNicholas Johnson2023-08-02
|
* Add multilingual support for single pagesNicholas Johnson2023-08-01
|
* Add multilingual support for homepage linkNicholas Johnson2023-07-31
|
* Fix gemini comment spacingv0.5.6Nicholas Johnson2023-05-16
|