1
0
Fork 0
mirror of https://github.com/ipfs/awesome-ipfs.git synced 2024-11-27 11:37:23 -05:00

Abbreviete hashes

License: MIT
Signed-off-by: Victor Bjelkholm <git@victor.earth>
This commit is contained in:
victorbjelkholm 2018-07-31 12:18:26 +02:00
parent a1195e75b8
commit 300c437e62
No known key found for this signature in database
GPG key ID: 2C7BE98EF82CECB6
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,6 @@ content:
hash: /ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM hash: /ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM
website: https://ipfs.io/ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM website: https://ipfs.io/ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM
source: https://github.com/ipfs/archives/issues/18 source: https://github.com/ipfs/archives/issues/18
description:
size: 500MB size: 500MB
- title: Presidental Daily Briefs - title: Presidental Daily Briefs
hash: /ipfs/Qme6epvZDj3vzHcFKdF1nZhbixjw8Bn4imGcKnbUyBJL89 hash: /ipfs/Qme6epvZDj3vzHcFKdF1nZhbixjw8Bn4imGcKnbUyBJL89

View file

@ -44,7 +44,9 @@
{{- if isset .Params "hash" -}} {{- if isset .Params "hash" -}}
<div> <div>
<a href="https://ipfs.io{{ .Params.hash }}" target="_blank" alt="Website" title="Website" class="aqua hover-teal"> <a href="https://ipfs.io{{ .Params.hash }}" target="_blank" alt="Website" title="Website" class="aqua hover-teal">
<code>{{ .Params.hash }}</code> <abbr title="{{ .Params.hash }}">
<code>{{ substr .Params.hash 0 10 }}...{{ substr .Params.hash 47 5 }}</code>
</abbr>
</a> </a>
</div> </div>
{{- end -}} {{- end -}}