- Updated navigation links across multiple blog pages to replace "Index" with "Home" and added "Contact" link. - Created a new contact page with a form for user inquiries. - Added a new contact template to render the contact page content. - Updated blog index page to enhance structure and styling. - Added a contact markdown file for content management.
18 lines
349 B
HTML
18 lines
349 B
HTML
{{ define "blog_index_page" }}
|
|
{{ template "base" . }}
|
|
{{ end }}
|
|
|
|
{{ define "blog_index_content" }}
|
|
<div class="main">
|
|
<h1>Go SSG - Blog Index</h1>
|
|
|
|
<ul>
|
|
{{ range .Posts }}
|
|
<li><a href="/blog/{{ .Slug }}/">{{ .Title }}</a><br>{{ .Description }}</li>
|
|
{{ else }}
|
|
<li>No posts found.</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|