From c9a1a84e4946b1218a68f9e02ab4cdcaf1ae7ce3 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Sat, 23 Jan 2021 14:14:05 +0100 Subject: [PATCH] installs theme --- .gitmodules | 3 +++ config.toml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++--- themes/sam | 1 + 3 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 themes/sam diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4c68b47 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/sam"] + path = themes/sam + url = https://github.com/victoriadrake/hugo-theme-sam diff --git a/config.toml b/config.toml index e4b7418..8dcad8f 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,48 @@ -baseURL = "http://example.org/" -languageCode = "en-us" -title = "My New Hugo Site" +baseurl = "https://example.com" # Your domain name +languageCode = "en-us" +defaultContentLanguage = "en" +isMultilingual = true +title = "Call me Sam" +theme = "sam" +pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html +pygmentsCodefences = true +# googleAnalytics = "" # Tracking code, eg. "UA-111111111-1" + +[params] + dateform = "Mon Jan 02, 2006" + dateformfull = "Mon Jan 2 2006 15:04:05 EST" + favicon = "sam.ico" + homepage = "main" # What to call the home page link + footerText = "Call me Sam, a theme for Hugo." + +# Metadata for Open Graph and Twitter + description = "A new Hugo site." # Max 160 characters show in search results + images = ["tn.png"] # Image that shows on Twitter cards and Open Graph links to the site + title = "Call me Sam" + # rss = "" + +[[params.videoBackground.sources]] +# source = "/sample_video.mp4" +# type = "video/mp4" +# poster = "/background.png" +[params.videoBackground] +# overlay = "rgba(0, 0, 0, 0.4)" # optional + +[[params.mainMenu]] + link = "posts" + text = "posts" + +[[params.mainMenu]] + link = "gallery" + text = "gallery" + +[[params.mainMenu]] + link = "portfolio" + text = "portfolio" + +[[params.mainMenu]] + link = "about" + text = "who is sam?" + +[imaging] + quality = 75 diff --git a/themes/sam b/themes/sam new file mode 160000 index 0000000..dc24465 --- /dev/null +++ b/themes/sam @@ -0,0 +1 @@ +Subproject commit dc2446559529644a14e105c6fc814e849e97e830