diff --git a/config.toml b/config.toml index 17c2ca7..a83797a 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,54 @@ -baseURL = 'https://samsapti.dev/' -languageCode = 'en-us' -title = 'Sam Al-Sapti' -theme = 'hermit' +baseURL = "https://samsapti.dev/" +languageCode = "en-us" +title = "Sam Al-Sapti" +theme = "hermit" + +[author] + name = "Sam Al-Sapti" + +[blackfriday] + noreferrerLinks = true + +[taxonomies] + tag = "tags" + +[params] + dateform = "Jan 2, 2006" + dateformShort = "Jan 2" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-02 15:04 -0700" + themeColor = "#494F5C" + homeSubtitle = "My personal website" + bgImg = "/bg.png" + footerCopyright = ' · CC BY-NC-SA 4.0' + relatedPosts = false + code_copy_button = true + + [[params.social]] + name = "facebook" + url = "https://www.fsf.org/fb" + + [[params.social]] + name = "mastodon" + url = "https://social.data.coop/@samsapti" + + [[params.social]] + name = "github" + url = "https://github.com/samsapti" + + [[params.social]] + name = "email" + url = "mailto:sam@sapti.me" + + +[menu] + + [[menu.main]] + name = "About" + url = "about/" + weight = 10 + + [[menu.main]] + name = "Posts" + url = "posts/" + weight = 20 \ No newline at end of file diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..eda847a --- /dev/null +++ b/content/about.md @@ -0,0 +1,8 @@ +--- +title: "About" +date: 2022-05-20T20:43:02+02:00 +draft: true +--- + +hello + diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html new file mode 100644 index 0000000..1a6c869 --- /dev/null +++ b/layouts/partials/svg.html @@ -0,0 +1,49 @@ +{{- if (eq .name "codepen") -}} + +{{- else if (eq .name "facebook") -}} + +{{- else if (eq .name "github") -}} + +{{- else if (eq .name "gitlab") -}} + +{{- else if (eq .name "instagram") -}} + +{{- else if (eq .name "linkedin") -}} + +{{- else if (eq .name "slack") -}} + +{{- else if (eq .name "stackoverflow") -}} + +{{- else if (eq .name "telegram") -}} + +{{- else if (eq .name "twitch") -}} + +{{- else if (eq .name "twitter") -}} + +{{- else if (eq .name "youtube") -}} + +{{- else if (eq .name "email") -}} + +{{- else if (eq .name "dribbble") -}} + +{{- else if (eq .name "behance") -}} + +{{- else if (eq .name "freepik") -}} + +{{- else if (eq .name "adobestock") -}} + +{{- else if (eq .name "shutterstock") -}} + +{{- else if (eq .name "123rf") -}} + +{{- else if (eq .name "dreamstime") -}} + +{{- else if (eq .name "paypal") -}} + +{{- else if (eq .name "qq") -}} + +{{- else if (eq .name "mastodon") -}} + +{{- else -}} + +{{- end -}} diff --git a/static/bg.png b/static/bg.png new file mode 100644 index 0000000..c041bd1 Binary files /dev/null and b/static/bg.png differ