Browse Source

Use data for projects.

master
Syfaro 1 year ago
parent
commit
af7cdd841e
3 changed files with 13 additions and 4 deletions
  1. +9
    -0
      data/projects.yaml
  2. +3
    -3
      themes/fox/layouts/index.html
  3. +1
    -1
      themes/fox/static/css/fox.css

+ 9
- 0
data/projects.yaml View File

@@ -0,0 +1,9 @@
- name: Furry Art Multiuploader
desc: A tool that allows artists to upload to multiple sites at once instead of having to upload the same thing on many different sites.
link: https://multiupload.us
- name: go-telegram-bot-api
desc: A golang wrapper for the Telegram Bot API.
link: https://github.com/go-telegram-bot-api/telegram-bot-api
- name: MCApi.us
desc: An API to get the status of or query a Minecraft server.
link: https://mcapi.us

+ 3
- 3
themes/fox/layouts/index.html View File

@@ -18,14 +18,14 @@
<section>
<h3>Things I Work On</h3>

{{ range where .Pages "Section" "project" }}
{{ range .Site.Data.projects }}
<div class="project">
<p class="project-name">
<a href="{{ .Params.projecturl }}">{{ .Title }}</a>
<a href="{{ .link }}">{{ .name }}</a>
</p>

<p>
{{ .Params.projectshort }}
{{ .desc | markdownify }}
</p>
</div>
{{ end }}


+ 1
- 1
themes/fox/static/css/fox.css View File

@@ -428,4 +428,4 @@ section.char-desc li:not(:first-child) {
.post-info .published-at {
display: block;
}
}
}

Loading…
Cancel
Save