aboutsummaryrefslogtreecommitdiff
path: root/layouts
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 unnecessary safeHTML calls for readabilityNicholas 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".
* Remove timestamp obfuscation privacy featureNicholas Johnson2024-11-07
| | | | | | | Timestamp obfuscation is a niche privacy feature which contradicts how users expect Hugo to work. If the user desires such a feature, they can override the theme with their own custom timestamp-obfuscating archetypes.
* Don't convert time to UTC in Atom feedsNicholas Johnson2024-11-07
| | | | | | | The entry archetype already wipes the time of day of entries and converts their dates to UTC, for the sake of user privacy. If the user overrides this behavior and purposely includes times and/or time zones, the theme should not interfere.
* Convert remaining tabs to spacesNicholas Johnson2024-11-07
|
* Add time element to HTML entry metadataNicholas Johnson2024-11-07
|
* Remove extra safeURL calls in id elementsNicholas Johnson2024-08-17
|
* Combine two replaceRE ops into oneNicholas Johnson2024-08-17
|
* Remove extraneous multi-line regex flagsNicholas Johnson2024-08-16
|
* Substitute replace with replaceRE for correctnessNicholas Johnson2024-08-16
|
* Make author element optional in Atom feedsNicholas Johnson2024-08-16
|
* Add backward compatibility for old taxonomy APINicholas Johnson2024-08-16
|
* Make email subelement optional in Atom feedsNicholas Johnson2024-08-16
| | | | | Elements which are optional in the Atom feed spec should also be optional in the templates.
* Add support for new taxonomy APINicholas Johnson2024-08-16
|
* Remove "index.gmi" from Gemini Atom link suffixesNicholas Johnson2024-08-16
|
* Fix bug in bold/italics regexNicholas Johnson2024-08-16
| | | | Bold/italics regex must not match greedily.
* Remove accidentally-introduced extra newlineNicholas Johnson2024-07-04
|
* Add missing end of line matchingNicholas Johnson2024-06-30
|
* 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
* Add trailing forward slash for consistencyv1.3.2Nicholas Johnson2024-05-27
|
* Remove extra css subdirectoryv1.3.1Nicholas Johnson2024-05-26
|
* Create custom 404 page for HTMLv1.3.0Nicholas Johnson2024-05-20
| | | | | In Gemini, the equivalent status code is 51. It does not return a response body, so no equivalent page was created for Gemini.
* 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.
* Convert Atom feed dates to UTCv1.0.7Nicholas Johnson2023-10-15
| | | | | | Atom feed dates reported as UTC were not necessarily UTC. The entry archetype converts from local to UTC by default, but the user may override that behavior.