Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

show hash if given #21

Merged
merged 1 commit into from
Dec 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dir-index-uncat.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
.ipfs-icon {
width:16px;
}
.ipfs-hash {
color: #999;
}
</style>
<title>{{ .Path }}</title>
</head>
Expand All @@ -33,6 +36,11 @@
<div class="panel panel-default">
<div class="panel-heading">
<strong>Index of {{ .Path }}</strong>
{{ if .Hash }}
<div class="ipfs-hash">
{{ .Hash }}
</div>
{{ end }}
</div>
<table class="table table-striped">
<tr>
Expand Down
8 changes: 8 additions & 0 deletions dir-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
.ipfs-icon {
width:16px;
}
.ipfs-hash {
color: #999;
}
</style>
<title>{{ .Path }}</title>
</head>
Expand All @@ -31,6 +34,11 @@
<div class="panel panel-default">
<div class="panel-heading">
<strong>Index of {{ .Path }}</strong>
{{ if .Hash }}
<div class="ipfs-hash">
{{ .Hash }}
</div>
{{ end }}
</div>
<table class="table table-striped">
<tr>
Expand Down