40 lines
615 B
HTML
40 lines
615 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
font-family: sans;
|
|
}
|
|
.entry {
|
|
display: inline-block;
|
|
padding: 10px;
|
|
min-width: 50%;
|
|
}
|
|
.entry_list div:nth-child(odd) {
|
|
background-color: #ddd;
|
|
}
|
|
</style>
|
|
<title>{{path}}</title>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="entry_list">
|
|
|
|
<div>
|
|
<a class="entry" href="https://example.com">../</a>
|
|
</div>
|
|
|
|
{{#each entries}}
|
|
<div>
|
|
<a class="entry" href="{{this.encoded_file_name}}{{this.trailing_slash}}">
|
|
{{this.file_name}}{{this.trailing_slash}}
|
|
</a>
|
|
</div>
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|