diff --git a/README.md b/README.md index 6e7ba9f..ee82eb3 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Sniffs the DHT gossip and indexes file and directory hashes. Metadata and search - [Project Apollo Archives](https://ipfs.io/ipfs/QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D) [Source](https://github.com/ipfs/archives/issues/143) - [textfiles.com](https://ipfs.io/ipfs/QmNoscE3kNc83dM5rZNUC5UDXChiTdDcgf16RVtFCRWYuU) [Source](https://github.com/ipfs/archives/issues/155) - [World Wide Web History Project](https://ipfs.io/ipfs/QmRTSA1UFHSx3z7taNRwUVM8AjB2EQwKvyZu3BfJg9QRtZ) [Source](https://github.com/ipfs/archives/issues/159) -- [XKCD](https://ipfs.io/ipns/xkcd.hacdias.com) [Source](https://github.com/ipfs/archives/issues/21) +- [xkcd](https://ipfs.io/ipns/xkcd.hacdias.com) - Snapshot of 6th of July of 2019: /ipfs/QmPaSQc397fJ8KbrQ1E4uR8RB1tBkEojBR91sUSG6qGt4K. [Source](https://github.com/ipfs/archives/issues/21) - [yarchive.net](https://ipfs.io/ipfs/QmdA5WkDNALetBn4iFeSepHjdLGJdxPBwZyY47ir1bZGAK) [Source](https://github.com/ipfs/archives/issues/76) ## Tools diff --git a/data/datasets.yml b/data/datasets.yml index 0ae1810..414c662 100644 --- a/data/datasets.yml +++ b/data/datasets.yml @@ -8,8 +8,11 @@ content: website: https://ipfs.io/ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM source: https://github.com/ipfs/archives/issues/18 size: 500MB - - title: XKCD + - title: xkcd hash: /ipns/xkcd.hacdias.com + snapshot: + hash: /ipfs/QmPaSQc397fJ8KbrQ1E4uR8RB1tBkEojBR91sUSG6qGt4K + date: 06/07/2019 website: https://ipfs.io/ipns/xkcd.hacdias.com source: https://github.com/ipfs/archives/issues/21 description: diff --git a/src/layouts/partials/icons/history.svg b/src/layouts/partials/icons/history.svg new file mode 100644 index 0000000..45ea84d --- /dev/null +++ b/src/layouts/partials/icons/history.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layouts/partials/list.html b/src/layouts/partials/list.html index 3952728..b4b90b0 100644 --- a/src/layouts/partials/list.html +++ b/src/layouts/partials/list.html @@ -1,9 +1,18 @@ {{ define "text" }} -

- {{- . -}} +

+ {{- markdownify . -}}

{{ end }} +{{ define "hash" }} + + + {{ $length := sub (len .) 5 }} + {{ substr . 0 10 }}...{{ substr . $length 5 }} + + +{{ end }} + {{- end -}} @@ -76,8 +80,13 @@ {{ partial "icons/flask.svg" }} {{- end -}} + + {{- if isset . "snapshot" -}} + + {{ partial "icons/history.svg" }} + + {{- end -}} - {{ end }}