add post and extra legal, revamp home page
This commit is contained in:
+12
-2
@@ -53,6 +53,7 @@
|
||||
{{- partial "list-posts.html" . -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<a class="view-all" href="/posts/">View all posts →</a>
|
||||
</div>
|
||||
|
||||
{{ $projects := where .Site.RegularPages "Params.type" "projects" }}
|
||||
@@ -66,7 +67,8 @@
|
||||
<div class="home-project-meta">
|
||||
{{ with .Params.status }}
|
||||
{{ $color := $project.Params.statusColor | default "#9e9e9e" }}
|
||||
<span class="home-project-status" style="color: {{ $color }}; border: 1px solid {{ $color }}; background-color: {{ $color }}20;">{{ . }}</span>
|
||||
<span class="home-project-status"
|
||||
style="color: {{ $color }}; border: 1px solid {{ $color }}; background-color: {{ $color }}20;">{{ . }}</span>
|
||||
·
|
||||
{{ end }}
|
||||
Updated {{ $project.Lastmod.Format "Jan 2, 2006" }}
|
||||
@@ -78,6 +80,14 @@
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
<div class="home-connect">
|
||||
<p>
|
||||
Subscribe via <a href="{{ "/index.xml" | absURL }}">RSS</a><a href="https://aboutfeeds.com/" class="rss-info" title="What is RSS?" aria-label="What is RSS?">?</a>,
|
||||
send feedback to <a href="mailto:feedback@fosscat.com">feedback@fosscat.com</a>,
|
||||
or check out the <a href="https://git.fosscat.com/n8r/fosscat-site">source code</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user