diff options
Diffstat (limited to 'layouts/partials/blog/cross-site-post.html')
-rw-r--r-- | layouts/partials/blog/cross-site-post.html | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/layouts/partials/blog/cross-site-post.html b/layouts/partials/blog/cross-site-post.html index b438467..7684410 100644 --- a/layouts/partials/blog/cross-site-post.html +++ b/layouts/partials/blog/cross-site-post.html @@ -1,16 +1,3 @@ -{{ $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 }} <article class="link"> {{- $img := resources.Get "blog/assets/arrow.gif" }} @@ -33,8 +20,7 @@ <time datetime="{{.PublishDate.Format "2006-01-02" }}"> {{ .PublishDate.Format "January 2, 2006" }} </time><br> - I published - <a href="{{ .Permalink }}">"{{ .Title }}"</a> - on {{ $section }} + + {{ partial "external_link" . }} </div> </article> |