diff --git a/config.yml b/config.yml index f219410..c870274 100644 --- a/config.yml +++ b/config.yml @@ -1,4 +1,4 @@ baseURL: https://warwick-new.co.uk languageCode: en-us -title: Warwick's Portfolio Site +title: Warwick New theme: warwick_portfolio diff --git a/content/articles/hello-world.md b/content/articles/hello-world.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/articles/hello-world.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/content/articles/hello-world2.md b/content/articles/hello-world2.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/articles/hello-world2.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/content/papers/hello-world.md b/content/papers/hello-world.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/papers/hello-world.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/content/papers/hello-world2.md b/content/papers/hello-world2.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/papers/hello-world2.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/content/projects/hello-world.md b/content/projects/hello-world.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/projects/hello-world.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/content/projects/hello-world2.md b/content/projects/hello-world2.md new file mode 100644 index 0000000..12ff884 --- /dev/null +++ b/content/projects/hello-world2.md @@ -0,0 +1,7 @@ +--- +title: "Hello World!" +date: 2023-10-15 20:25:14.038 +0100 +--- + +# Hello World! +Eyy *Finger Guns* diff --git a/themes/warwick_portfolio/assets/css/greeter.css b/themes/warwick_portfolio/assets/css/greeter.css index 485986f..7e26d59 100644 --- a/themes/warwick_portfolio/assets/css/greeter.css +++ b/themes/warwick_portfolio/assets/css/greeter.css @@ -10,7 +10,10 @@ } #greeter { - height: 100%; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; width: 100%; position: relative; } diff --git a/themes/warwick_portfolio/assets/css/main.css b/themes/warwick_portfolio/assets/css/main.css index 9cda38c..a94b85d 100644 --- a/themes/warwick_portfolio/assets/css/main.css +++ b/themes/warwick_portfolio/assets/css/main.css @@ -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; } diff --git a/themes/warwick_portfolio/layouts/index.html b/themes/warwick_portfolio/layouts/index.html index 91e2bca..915dc7d 100644 --- a/themes/warwick_portfolio/layouts/index.html +++ b/themes/warwick_portfolio/layouts/index.html @@ -1,22 +1,78 @@ {{ define "main" }} {{ partial "greeter.html" .}} -
-
-

{{.Title}}

-
-
+
+
+

{{.Title}}

+
+
-
+
+
- {{ range where .Site.RegularPages "Type" "posts" }} +

Projects

+ {{ range where .Site.RegularPages "Type" "projects" }}
-

{{ .Title }}

+ +

{{ .Title }}

+

{{.Summary}}

- +
{{ end }}
-
+ +
+

Blog

+ {{ range where .Site.RegularPages "Type" "posts" }} +
+ +

{{ .Title }}

+
+

{{.Summary}}

+ +
+
+ {{ end }} +
+ +
+

Papers

+ {{ range where .Site.RegularPages "Type" "papers" }} +
+ +

{{ .Title }}

+
+

{{.Summary}}

+ +
+
+ {{ end }} +
+ +
+

Articles

+ {{ range where .Site.RegularPages "Type" "articles" }} +
+ +

{{ .Title }}

+
+

{{.Summary}}

+ +
+
+ {{ end }} +
+ + +
{{ end }}