sophuwu.site > myweb
eh idk :/
sophuwu sophie@skisiel.com
Fri, 19 Jul 2024 16:17:33 +0200
commit

39b36e63f277bb0d09a14c8146fa54d100fb3c1e

parent

e9c1f6d765ec900bc3b2215ac909c8c63a796cc7

3 files changed, 8 insertions(+), 11 deletions(-)

jump to
M config.yamlconfig.yaml

@@ -1,6 +1,7 @@

Server: Port: "8085" IP: "127.0.0.1" + Url: "https://skisiel.com" Paths: Static: "./static"

@@ -9,12 +10,4 @@ Media: "./media"

Contact: Name: "Sophie Kisiel" - Email: "sophie@sksiel.com" - Links: - - Name: "GitHub" - URL: "https://github.com/Sophuwu300" - -Website: - Title: "Sophie Kisiel" - Description: "Sophie Kisiel's personal website and blog." - Url: "https://skisiel.com"+ Email: "sophie@skisiel.com"
M config/config.goconfig/config.go

@@ -34,7 +34,6 @@ // ContactInfo is a struct that holds the configuration for the contact information

type ContactInfo struct { Email string `yaml:"Email"` Name string `yaml:"Name"` - Links []Link `yaml:"Links"` } // WebInfo is a struct that holds the configuration for the website information

@@ -42,6 +41,7 @@ type WebInfo struct {

Title string `yaml:"Title"` Description string `yaml:"Description"` Url string `yaml:"Url"` + Extras []Link `yaml:"ExternalLinks"` } // Config is a struct that holds the configuration for the server, directories, and contact information
M templates/header.htmltemplates/header.html

@@ -1,5 +1,9 @@

{{ define "header" }} <header> - <h1>{{ .WebsiteName }}</h1> + <h1>Sophie Kisiel</h1> + <a href="/"><button>Home</button></a> + <a href="/blog/"><button>Blog</button></a> + <a href="//sophuwu.site/"><button>Git</button></a> + <a href="/animations/"><button>Animations</button></a> </header> {{ end }}