commit e2dd80b9f76b2adb933553b136e214777de4e57a Author: Oscar Blue Date: Fri Oct 27 14:07:29 2023 +0100 Initial release diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..86c95ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ef26ca7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/Lynx"] + path = themes/Lynx + url = https://github.com/jpanther/lynx.git diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/assets/author.png b/assets/author.png new file mode 100644 index 0000000..f070c12 Binary files /dev/null and b/assets/author.png differ diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..a3d7fe2 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,37 @@ +.link-forgejo { + background: linear-gradient( + 90deg, + rgba(204, 0, 0, 1) 0%, + rgba(240, 81, 1, 1) 100% + ); +} + +.link-gitlab { + background: linear-gradient( + 90deg, + rgba(226, 67, 41, 1) 0%, + rgba(252, 109, 38, 1) 50%, + rgba(252, 163, 38, 1) 100% + ); +} + +.link-github { + background: linear-gradient( + 90deg, + rgba(1, 4, 9, 1) 0%, + rgba(13, 17, 23, 1) 100% + ); +} + +.link-github path, .link-gitlab path, .link-forgejo path { + fill: white; + stroke: none; +} + +.link { + transition: transform .3s; +} + +.link:hover { + transform: scale(1.1); +} diff --git a/assets/icons/forgejo.svg b/assets/icons/forgejo.svg new file mode 100644 index 0000000..b550173 --- /dev/null +++ b/assets/icons/forgejo.svg @@ -0,0 +1,23 @@ + + + + + + diff --git a/assets/icons/github.svg b/assets/icons/github.svg new file mode 100644 index 0000000..7870c06 --- /dev/null +++ b/assets/icons/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/icons/gitlab.svg b/assets/icons/gitlab.svg new file mode 100644 index 0000000..0ed68c8 --- /dev/null +++ b/assets/icons/gitlab.svg @@ -0,0 +1 @@ + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..ccd4b91 --- /dev/null +++ b/config.toml @@ -0,0 +1,36 @@ +# Site Config +baseURL = "https://oscar.blue/git" # Add /reponame for project site +languageCode = "en-gb" +title = "Oscar Pocock | Git" +theme = "Lynx" + +enableRobotsTXT = true +[outputs] + home = ["HTML", "JSON"] + +# SEO +[params] + env = "production" + title = "page title" + author = "Oscar Pocock" + description = "My social links, powered by Hugo & Lynx" + keywords = [ "Lynx", "Linktree", "About", "Git" ] + +# Lynx Config +[author] + image = "author.png" # Image path or link + name = "Oscar Blue" + headline = "Oscar's Git Accounts" + links = [ + { forgejo = { href = "https://git.oscar.blue/noble", text = "Forgejo" } }, + { gitlab = { href = "https://gitlab.com/oscarpocock", text = "Gitlab" } }, + { github = { href = "https://github.com/NoirNoble", text = "Github" } }, + ] + +enableEmoji = true +disableKinds = ["taxonomy", "term"] + +[markup.highlight] + noClasses = false +[markup.goldmark.renderer] + unsafe = true diff --git a/themes/Lynx b/themes/Lynx new file mode 160000 index 0000000..151a549 --- /dev/null +++ b/themes/Lynx @@ -0,0 +1 @@ +Subproject commit 151a5497266c84a7f1a851c662dd8ca6e51a9aa2