diff --git a/SiteGenerator/Sources/SiteGenerator/Generator/HumanSite.swift b/SiteGenerator/Sources/SiteGenerator/Generator/HumanSite.swift index ebc1d8a..6a229a4 100644 --- a/SiteGenerator/Sources/SiteGenerator/Generator/HumanSite.swift +++ b/SiteGenerator/Sources/SiteGenerator/Generator/HumanSite.swift @@ -22,7 +22,7 @@ extension Site { self.author = humanSite.author self.title = humanSite.title self.url = humanSite.url - self.template = humanSite.template ?? "site" + self.template = humanSite.template ?? "page" self.styles = humanSite.styles ?? [] self.scripts = humanSite.scripts ?? [] } diff --git a/Tests/test-markdown/in/templates/site.html b/Tests/test-markdown/in/templates/page.html similarity index 100% rename from Tests/test-markdown/in/templates/site.html rename to Tests/test-markdown/in/templates/page.html diff --git a/Tests/test-public-subdirs/in/templates/site.html b/Tests/test-public-subdirs/in/templates/page.html similarity index 100% rename from Tests/test-public-subdirs/in/templates/site.html rename to Tests/test-public-subdirs/in/templates/page.html diff --git a/Tests/test-styles/in/templates/site.html b/Tests/test-styles/in/templates/page.html similarity index 100% rename from Tests/test-styles/in/templates/site.html rename to Tests/test-styles/in/templates/page.html diff --git a/public/about.md b/public/about.md index b7cbd73..b4d223f 100644 --- a/public/about.md +++ b/public/about.md @@ -1,6 +1,5 @@ --- Title: About me -Template: article --- I'm Sami Samhuri, a software developer and general technology geek. Sometimes I write my thoughts and post my projects here. I moved to [Victoria, BC][vic] in 2003 to study computer science at the [University of Victoria][uvic], and then dropped out a couple of years later. diff --git a/public/css/style.less b/public/css/style.less index e9bb714..63735e1 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -413,7 +413,7 @@ article { header { - h2 { + h1 { word-wrap: break-word; margin-bottom: 0.3rem; } diff --git a/public/cv.md b/public/cv.md index b15c3a5..78d03be 100644 --- a/public/cv.md +++ b/public/cv.md @@ -1,6 +1,5 @@ --- Title: Curriculum vitae -Template: article --- ### Work History diff --git a/site.json b/site.json index 6101e4f..c6ddbcd 100644 --- a/site.json +++ b/site.json @@ -2,7 +2,6 @@ "title": "samhuri.net", "author": "Sami Samhuri", "url": "https://samhuri.net", - "template": "samhuri.net", "styles": [ "/css/normalize.css", "/css/style.css" diff --git a/templates/article.html b/templates/page.html similarity index 100% rename from templates/article.html rename to templates/page.html