Compare commits

...

3 Commits

Author SHA1 Message Date
Xavi
18987052ec Edit Header and footer 2023-02-18 11:32:32 -08:00
Xavi
540921de33 Edit single.html
Linked CSS
Added tots post divs
2023-02-18 11:31:08 -08:00
Xavi
fa6fac80ca Edit list.html
Linked CSS
Displays full post on list pages (ie. _index.md)
2023-02-18 11:29:24 -08:00
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{{ define "main" }}
<h2 class="tots_heading"> {{ .Title }}</h2>
{{ .Content }}
{{ range.Pages }}
<div class="tots_post">
<h3 class="entry_heading">{{ .Title }}</h3>
<h5 class="tots_date_category"> {{ .Lastmod }}</h5>
{{ .Content }}
</div>
{{ end }}
{{ end }}

View File

@ -0,0 +1,11 @@
{{ define "main" }}
<div class="tots_post">
<h3 class="entry_heading">{{ .Title }}</h3>
<h5 class="tots_date_category"> {{ .Lastmod }}</h5>
<p>{{ .Content }}</p>
<p> hi </p>
</div>
{{ end }}

View File

@ -0,0 +1,2 @@
<footer> <a href="{{ .Site.BaseURL }}/index.html">Home</a> </footer>

View File

@ -0,0 +1,5 @@
<head>
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/style.css" />
<link rel="shortcut icon" type="image/ico" href="images/nuke.ico" />
<title> {{ .Title }} </title>
</head>