This commit is contained in:
2025-06-10 14:13:19 -06:00
parent ad1a614ff3
commit ced9625083
6 changed files with 34 additions and 8 deletions

View File

@ -161,7 +161,7 @@ article
p
margin: 0.5rem 0
font-size: 1rem
color: $text-subtle
color: $text
font-weight: 300
.subtitle

View File

@ -5,7 +5,7 @@
{{ range .Pages }}
<article>
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<p>{{ .Content | truncate 100 }}</p>
<p>{{ .Content | plainify | truncate 100 }}</p>
</article>
{{ end }}
</section>

View File

@ -0,0 +1,6 @@
<div style="display: flex; align-items: center; gap: 8px;">
<span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(226, 181, 59);"></span>
<span style="display:none">[</span>
<span style="color: rgb(226, 181, 59); font-size: 1rem;">Closed-Source Tool</span>
<span style="display:none">]&nbsp;</span>
</div>

View File

@ -0,0 +1,12 @@
<div style="display: flex; align-items: center; gap: 8px;">
<span style="display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgb(240, 85, 85);"></span>
<span style="display:none">[</span>
{{ if .Get "year" }}
<span style="color: rgb(240, 85, 85); font-size: 1rem;">Not Maintained Since {{ .Get "year" }}</span>
{{ else }}
<span style="color: rgb(240, 85, 85); font-size: 1rem;">No Longer Maintained</span>
{{ end }}
<span style="display:none">]</span>
</div>

View File

@ -26,7 +26,7 @@
{{ range .Pages }}
<tr onclick="window.location='{{ .RelPermalink }}'" style="cursor:pointer;"></tr>
<td class="tool"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td>
<td class="description">{{ .Content | truncate 200 }}</td>
<td class="description">{{ .Content | plainify | truncate 100 }}</td>
<!-- <td>
{{ $sep := "" }}
{{ range $key, $vals := .Params }}

View File

@ -87,11 +87,19 @@
</section>
{{ end }}
<div class="time" style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;">
<div class="footer-links" style="text-align: left;">
Help improve this page!<br/>
Submit an <a href="https://gitmoss.fyi/fmtools/content/issues/new?title=Update+Page+For+{{ .Title | urlquery }}&body=Describe+your+problem+or+suggested+update+for+the+page+%22{{ .Title }}%22.">issue</a> or <a href="https://gitmoss.fyi/fmtools/content/fork">pull request</a>.
</div>
{{ if .Date }}
<div class="footer-date" style="text-align: right;">
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<p class="time">Updated <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
{{ $dateHuman := .Date | time.Format "2 January 2006" }}
Updated <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
</div>
{{ end }}
</div>
{{ end }}