Use data for projects.

This commit is contained in:
Syfaro 2018-10-07 17:39:33 -05:00
parent 4fd7dd7de2
commit af7cdd841e
3 changed files with 13 additions and 4 deletions

9
data/projects.yaml Normal file
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

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 }}

View File

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