Added placeholders for all the content I want on the site rn

This commit is contained in:
Warwick 2023-10-17 15:19:47 +01:00
parent a2c0388574
commit 6fde7763c5
10 changed files with 122 additions and 14 deletions

View file

@ -1,4 +1,4 @@
baseURL: https://warwick-new.co.uk baseURL: https://warwick-new.co.uk
languageCode: en-us languageCode: en-us
title: Warwick's Portfolio Site title: Warwick New
theme: warwick_portfolio theme: warwick_portfolio

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -0,0 +1,7 @@
---
title: "Hello World!"
date: 2023-10-15 20:25:14.038 +0100
---
# Hello World!
Eyy *Finger Guns*

View file

@ -10,7 +10,10 @@
} }
#greeter { #greeter {
height: 100%; display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100%; width: 100%;
position: relative; position: relative;
} }

View file

@ -69,8 +69,15 @@ a:visited {
} }
.container { .container {
width: 1000px; max-width: 1000px;
min-width: 800px;
padding: 10px; padding: 10px;
background-color: var(--paper); background-color: var(--paper);
margin: 0 auto; margin: 10px auto;
}
.flex-wrap-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
} }

View file

@ -1,22 +1,78 @@
{{ define "main" }} {{ define "main" }}
{{ partial "greeter.html" .}} {{ partial "greeter.html" .}}
<header class="homepage-header"> <header class="homepage-header">
<div class="container"> <div class="container">
<h1>{{.Title}}</h1> <h1>{{.Title}}</h1>
</div> </div>
</header> </header>
<main> <main>
<div class="flex-wrap-container">
<div class="container"> <div class="container">
{{ range where .Site.RegularPages "Type" "posts" }} <h2>Projects</h2>
{{ range where .Site.RegularPages "Type" "projects" }}
<div class="index-article"> <div class="index-article">
<a class="index-article__link" href="{{ .Permalink }}"><h4>{{ .Title }}</h4></a> <a class="index-article__link" href="{{ .Permalink }}">
<h4>{{ .Title }}</h4>
</a>
<p>{{.Summary}}</p> <p>{{.Summary}}</p>
<span class="index-article__date">{{.Params.date.Format "2 January 2006"}}</span> <span class="index-article__date">
{{.Params.date.Format "2 January 2006"}}
</span>
<hr> <hr>
</div> </div>
{{ end }} {{ end }}
</div> </div>
</main>
<div class="container">
<h2>Blog</h2>
{{ range where .Site.RegularPages "Type" "posts" }}
<div class="index-article">
<a class="index-article__link" href="{{ .Permalink }}">
<h4>{{ .Title }}</h4>
</a>
<p>{{.Summary}}</p>
<span class="index-article__date">
{{.Params.date.Format "2 January 2006"}}
</span>
<hr>
</div>
{{ end }}
</div>
<div class="container">
<h2>Papers</h2>
{{ range where .Site.RegularPages "Type" "papers" }}
<div class="index-article">
<a class="index-article__link" href="{{ .Permalink }}">
<h4>{{ .Title }}</h4>
</a>
<p>{{.Summary}}</p>
<span class="index-article__date">
{{.Params.date.Format "2 January 2006"}}
</span>
<hr>
</div>
{{ end }}
</div>
<div class="container">
<h2>Articles</h2>
{{ range where .Site.RegularPages "Type" "articles" }}
<div class="index-article">
<a class="index-article__link" href="{{ .Permalink }}">
<h4>{{ .Title }}</h4>
</a>
<p>{{.Summary}}</p>
<span class="index-article__date">
{{.Params.date.Format "2 January 2006"}}
</span>
<hr>
</div>
{{ end }}
</div>
</div>
</main>
{{ end }} {{ end }}