bug fix
This commit is contained in:
@ -161,7 +161,7 @@ article
|
||||
p
|
||||
margin: 0.5rem 0
|
||||
font-size: 1rem
|
||||
color: $text-subtle
|
||||
color: $text
|
||||
font-weight: 300
|
||||
|
||||
.subtitle
|
||||
|
@ -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>
|
||||
|
6
layouts/shortcodes/closed-source.html
Normal file
6
layouts/shortcodes/closed-source.html
Normal 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">] </span>
|
||||
</div>
|
12
layouts/shortcodes/inactive.html
Normal file
12
layouts/shortcodes/inactive.html
Normal 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>
|
@ -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 }}
|
||||
|
@ -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 }}
|
Reference in New Issue
Block a user