redstrate.com/themes/red/layouts/_default/project.html
Joshua Goins 7ff52707cd Simplify software pages
As much as I like this organization system - I think this is one of the
oldest on the site - it was one glaring flaw. I never keep these
descriptions up-to-date and never will! So if the software page has
source code available (and no other text) it will now redirect straight
to the source code.
2025-04-12 18:38:56 -04:00

13 lines
279 B
HTML

{{ define "main" }}
<h2>{{ .Title }}</h2>
{{ if (and ($.Param "source") (not .Content)) }}
{{- template "alias.html" (dict "Permalink" .Params.source) -}}
{{ else }}
<p>{{ .Summary }}</p>
<hr>
{{ .Content }}
{{ end }}
{{ end }}