Unverified Commit aa28edf5 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #21 from jackloughran/feat/gateway/always-show-hash

show hash if given
parents d9fb37f9 427874e3
......@@ -19,6 +19,9 @@
.ipfs-icon {
width:16px;
}
.ipfs-hash {
color: #999;
}
</style>
<title>{{ .Path }}</title>
</head>
......@@ -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>
......
......@@ -17,6 +17,9 @@
.ipfs-icon {
width:16px;
}
.ipfs-hash {
color: #999;
}
</style>
<title>{{ .Path }}</title>
</head>
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment