feat: update xkcd snapshot

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-07-15 23:28:04 +01:00
parent b99c16b6b3
commit 0733f8f019
2 changed files with 8 additions and 8 deletions

View File

@ -11,8 +11,8 @@ content:
- title: xkcd
hash: /ipns/xkcd.hacdias.com
snapshot:
hash: /ipfs/QmPaSQc397fJ8KbrQ1E4uR8RB1tBkEojBR91sUSG6qGt4K
date: 06/07/2019
hash: /ipfs/QmP7UYTMQFhsiRHfbgPgEngALzXWroSRVkEyWSbJTd23yf
date: 15/07/2019
website: https://ipfs.io/ipns/xkcd.hacdias.com
source: https://github.com/ipfs/archives/issues/21
description:

View File

@ -69,6 +69,12 @@
</a>
{{- end -}}
{{- if isset . "snapshot" -}}
<a href="http://ipfs.io/{{ .snapshot.hash }}" target="_blank" alt="Snapshot as of {{ .snapshot.date }}" title="Snapshot as of {{ .snapshot.date }}">
{{ partial "icons/history.svg" }}
</a>
{{- end -}}
{{- if isset . "source" -}}
<a href="{{ .source }}" target="_blank" alt="Source Code" title="Source Code">
{{ partial "icons/code.svg" }}
@ -80,12 +86,6 @@
{{ partial "icons/flask.svg" }}
</a>
{{- end -}}
{{- if isset . "snapshot" -}}
<a href="http://ipfs.io/{{ .snapshot.hash }}" target="_blank" alt="Snapshot as of {{ .snapshot.date }}" title="Snapshot as of {{ .snapshot.date }}">
{{ partial "icons/history.svg" }}
</a>
{{- end -}}
</div>
</div>
</article>