diff options
-rw-r--r-- | assets/more/links.yml | 2 | ||||
-rw-r--r-- | content-org/blog.org | 2 | ||||
-rw-r--r-- | content/blog/2024/updated-pages.md | 2 | ||||
-rw-r--r-- | layouts/shortcodes/links.html | 7 |
4 files changed, 9 insertions, 4 deletions
diff --git a/assets/more/links.yml b/assets/more/links.yml index 0fd6efa..fbd89ec 100644 --- a/assets/more/links.yml +++ b/assets/more/links.yml @@ -79,7 +79,7 @@ links: Url: https://lars.ingebrigtsen.no/ Description: mostly comics. also unix and computers - - Title: random thoughts + Title: Mental Outlaw Url: https://www.youtube.com/channel/UC7YOGHUfC1Tb6E4pudI9STA Description: Privacy, and unix Video: youtube diff --git a/content-org/blog.org b/content-org/blog.org index ecc2dcf..81e51aa 100644 --- a/content-org/blog.org +++ b/content-org/blog.org @@ -136,7 +136,7 @@ Recently, I have updated some pages: - [[/more/links][Links]] - which are finally manageable - [[/more/contact][Contact]] - which look like they look now thank to envy of [[https://jcs.org/contact][joshua's site]]. -Most likely I'll recreate more in the coming weeks, but for I am focusing on bringing [[/projects/chotto][Chotto]] to version 0.1, which will have enough features to be usable. +Most likely I'll recreate more in the coming weeks, but for now I am focusing on bringing [[/projects/chotto][Chotto]] to version 0.1, which will have enough features to be usable. ** DONE Lost keys CLOSED: [2024-11-22 Fri 20:23] diff --git a/content/blog/2024/updated-pages.md b/content/blog/2024/updated-pages.md index 193740b..22e1a18 100644 --- a/content/blog/2024/updated-pages.md +++ b/content/blog/2024/updated-pages.md @@ -16,4 +16,4 @@ Recently, I have updated some pages: - [Links](/more/links) - which are finally manageable - [Contact](/more/contact) - which look like they look now thank to envy of [joshua's site](https://jcs.org/contact). -Most likely I'll recreate more in the coming weeks, but for I am focusing on bringing [Chotto](/projects/chotto) to version 0.1, which will have enough features to be usable. +Most likely I'll recreate more in the coming weeks, but for now I am focusing on bringing [Chotto](/projects/chotto) to version 0.1, which will have enough features to be usable. diff --git a/layouts/shortcodes/links.html b/layouts/shortcodes/links.html index 5acde5d..6d40dae 100644 --- a/layouts/shortcodes/links.html +++ b/layouts/shortcodes/links.html @@ -4,9 +4,14 @@ {{ with . | transform.Unmarshal }} <table class="links"> - {{ range (sort .links "Title") }} + {{ range (sort .links "Title" "asc") }} {{ $letter := slicestr .Title 0 1 }} + {{ $letter = strings.ToUpper $letter }} + {{ if findRE `\d` $letter }} + {{ $letter = "0-9" }} + {{ end}} {{ if not (eq $letter $lastLetter) }} + <tr> <td colspan="2"> <hr> |