mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-11-20 11:28:35 -05:00
Abbreviete hashes
License: MIT Signed-off-by: Victor Bjelkholm <git@victor.earth>
This commit is contained in:
parent
a1195e75b8
commit
300c437e62
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,6 @@ content:
|
|||
hash: /ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM
|
||||
website: https://ipfs.io/ipfs/QmNvTjdqEPjZVWCvRWsFJA1vK7TTw1g9JP6we1WBJTRADM
|
||||
source: https://github.com/ipfs/archives/issues/18
|
||||
description:
|
||||
size: 500MB
|
||||
- title: Presidental Daily Briefs
|
||||
hash: /ipfs/Qme6epvZDj3vzHcFKdF1nZhbixjw8Bn4imGcKnbUyBJL89
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
{{- if isset .Params "hash" -}}
|
||||
<div>
|
||||
<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>
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue