From 1e0a60d8a68e2514133fce61507fe8fe7c718f90 Mon Sep 17 00:00:00 2001 From: Ben Hays Date: Mon, 23 Oct 2023 16:29:15 -0400 Subject: [PATCH] Update Mainpage and Theme --- hugo.toml | 67 +++++++++++++++++++++++++++++++++++++++++++- static/css/style.css | 19 +++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 static/css/style.css diff --git a/hugo.toml b/hugo.toml index 4f98510..60177b5 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,4 +2,69 @@ baseURL = 'https://benhays.org/' languageCode = 'en-us' title = 'Ben Hays' theme = "hello-friend-ng" -paginate = 10 \ No newline at end of file +paginate = 10 + +[params] +dateform = "Jan 2, 2006" +dateformShort = "Jan 2" +dateformNum = "2006-01-02" +dateformNumTime = "2006-01-02 15:04" + +customCSS = ["css/style.css"] + +# Subtitle for home +homeSubtitle = "Information Security Student" + +# Set disableReadOtherPosts to true in order to hide the links to other posts. +disableReadOtherPosts = false + +# Disable Un-needed features +enableSharingButtons = false +enableGlobalLanguageMenu = false + +# Metadata +description = "" +keywords = "homepage, blog" +images = [""] + +# Generator Options +enableRobotsTXT = true +enableGitInfo = true +enableEmoji = true +enableMissingTranslationPlaceholders = false +disableRSS = false +disableSitemap = false +disable404 = false + +[languages] +[languages.en] +title = "Ben Hays" +keywords = "" +copyright = 'CC BY-NC 4.0' +readOtherPosts = "Read other posts" + +[languages.en.params] +subtitle = "Information Security Student" + +[[menu.main]] +identifier = "blog" +name = "Posts" +url = "/posts" + +[params.logo] +logoMark = "" +logoText = "Ben Hays" +logoHomeLink = "/" +logoCursorDisabled = true + +[[params.social]] +name = "email" +url = "mailto:benhays@benhays.org" + +[[params.social]] +name = "github" +url = "https://github.com/BenHays42" + +[[params.social]] +name = "linkedin" +url = "https://www.linkedin.com/" diff --git a/static/css/style.css b/static/css/style.css new file mode 100644 index 0000000..fb6859c --- /dev/null +++ b/static/css/style.css @@ -0,0 +1,19 @@ +main p { + margin-top: 0 !important; +} + +main h1 { + margin-bottom: 0 !important; + background: linear-gradient(90deg, rgba(148,147,249,1) 0%, rgba(178,147,249,1) 48%, rgba(189,147,249,1) 100%); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; +} + +.content { + background: radial-gradient(circle, rgba(35,36,37,1) 50%, rgba(36,37,37,1) 100%) !important; +} + +a:hover { + color: #BD93F9 !important; +} \ No newline at end of file