small change to tmpl/index.html
This commit is contained in:
parent
b6e0db0ca1
commit
8ca489c367
|
@ -6,9 +6,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<nav id='navbar'>
|
||||
<a href='/' id='home_link'>rural dictionary</a>
|
||||
<a href='/'>rural dictionary</a> |
|
||||
<a href='/about.html'>about</a>
|
||||
</nav>
|
||||
<hr>
|
||||
|
||||
<main id='content'>
|
||||
<h1>Rural Dictionary</h1>
|
||||
|
@ -19,7 +19,7 @@
|
|||
<button>Submit</button>
|
||||
</form>
|
||||
|
||||
{{range $index, $element := .DefinitionIDs -}} <a href='/word/{{ToFilename $index}}'>{{$index}}</a><br/> {{- else -}} <p>There are no currently registered words.</p> {{- end}}
|
||||
{{range $index, $element := .DefinitionIDs -}} <a href='/words/{{ToFilename $index}}'>{{$index}}</a><br/> {{- else -}} <p>There are no currently registered words.</p> {{- end}}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue