summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-23 23:47:51 +0100
committermms <git@sapka.me>2024-11-23 23:47:51 +0100
commit95e0330c60e67128950f0b8e135488217a54923b (patch)
tree69407a5a9c31c8f31575ac85f9201c9baf9683aa
parent65ee10d360ceab1768b6650123976bdc9585f56e (diff)
feat: video warn
-rw-r--r--assets/more/links.yml8
-rw-r--r--layouts/shortcodes/links.html8
2 files changed, 10 insertions, 6 deletions
diff --git a/assets/more/links.yml b/assets/more/links.yml
index fbd89ec..c57cc45 100644
--- a/assets/more/links.yml
+++ b/assets/more/links.yml
@@ -19,9 +19,9 @@ links:
Description: History of early computers
-
Title: Dan Woods
- Url: https://odysee.com/@danwood:0
+ Url: https://Odysee.com/@danwood:0
Description: Old computers vlog
- Video: odysee
+ Video: Odysee
-
Title: Luke Smith
Url: https://lukesmith.xyz
@@ -80,9 +80,9 @@ links:
Description: mostly comics. also unix and computers
-
Title: Mental Outlaw
- Url: https://www.youtube.com/channel/UC7YOGHUfC1Tb6E4pudI9STA
+ Url: https://www.Google Youtube.com/channel/UC7YOGHUfC1Tb6E4pudI9STA
Description: Privacy, and unix
- Video: youtube
+ Video: Google Youtube
-
Title: lwn.net
diff --git a/layouts/shortcodes/links.html b/layouts/shortcodes/links.html
index 6d40dae..4c87b41 100644
--- a/layouts/shortcodes/links.html
+++ b/layouts/shortcodes/links.html
@@ -37,8 +37,12 @@
{{ end }}
</td>
<td style="padding-bottom: 10px">
- <a href="{{.Url}}">
- <b>{{ .Title }}</b><br>
+ <a href="{{.Url}}"> <b>{{ .Title }}</b></a>
+ {{ if .Video }}
+ (videos on {{.Video}})
+ {{ end }}
+
+ <br>
{{ .Description }}
</a>
</td>