diff options
Diffstat (limited to 'layouts/partials/external_link.html')
-rw-r--r-- | layouts/partials/external_link.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/external_link.html b/layouts/partials/external_link.html new file mode 100644 index 0000000..5b3277f --- /dev/null +++ b/layouts/partials/external_link.html @@ -0,0 +1,17 @@ +{{ $section := "some other site" }} + +{{ if eq .Section "cool-emacs" }} + {{ $section = "Cool Emacs" }} +{{ else if eq .Section "brain-rot" }} + {{ $section = "Brain Rots" }} +{{ else if eq .Section "unix-history" }} + {{ $section = "Unix History" }} +{{ else if eq .Section "star-trek" }} + {{ $section = "Star Trek" }} +{{ else if eq .Section "bsd" }} + {{ $section = "Guide to BSD" }} +{{ end }} + +I published <a href="{{ .Permalink }}">"{{ .Title }}"</a> on {{ $section }} + + |