small change to tmpl/index.html

This commit is contained in:
Abdullah Islam 2023-06-21 11:41:08 +06:00
parent b6e0db0ca1
commit 8ca489c367
1 changed files with 3 additions and 3 deletions

View File

@ -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>