Added placeholders for all the content I want on the site rn
This commit is contained in:
parent
a2c0388574
commit
6fde7763c5
10 changed files with 122 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
baseURL: https://warwick-new.co.uk
|
||||
languageCode: en-us
|
||||
title: Warwick's Portfolio Site
|
||||
title: Warwick New
|
||||
theme: warwick_portfolio
|
||||
|
|
|
|||
7
content/articles/hello-world.md
Normal file
7
content/articles/hello-world.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
7
content/articles/hello-world2.md
Normal file
7
content/articles/hello-world2.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
7
content/papers/hello-world.md
Normal file
7
content/papers/hello-world.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
7
content/papers/hello-world2.md
Normal file
7
content/papers/hello-world2.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
7
content/projects/hello-world.md
Normal file
7
content/projects/hello-world.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
7
content/projects/hello-world2.md
Normal file
7
content/projects/hello-world2.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: "Hello World!"
|
||||
date: 2023-10-15 20:25:14.038 +0100
|
||||
---
|
||||
|
||||
# Hello World!
|
||||
Eyy *Finger Guns*
|
||||
|
|
@ -10,7 +10,10 @@
|
|||
}
|
||||
|
||||
#greeter {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,8 +69,15 @@ a:visited {
|
|||
}
|
||||
|
||||
.container {
|
||||
width: 1000px;
|
||||
max-width: 1000px;
|
||||
min-width: 800px;
|
||||
padding: 10px;
|
||||
background-color: var(--paper);
|
||||
margin: 0 auto;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.flex-wrap-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,22 +1,78 @@
|
|||
{{ define "main" }}
|
||||
{{ partial "greeter.html" .}}
|
||||
<header class="homepage-header">
|
||||
<header class="homepage-header">
|
||||
<div class="container">
|
||||
<h1>{{.Title}}</h1>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<main>
|
||||
<div class="flex-wrap-container">
|
||||
<div class="container">
|
||||
{{ range where .Site.RegularPages "Type" "posts" }}
|
||||
<h2>Projects</h2>
|
||||
{{ range where .Site.RegularPages "Type" "projects" }}
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
{{ end }}
|
||||
</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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue