Compare commits

..

No commits in common. "d5ba1b6ac09d8790efc3bf89f886ff8a47a98311" and "9d6391fc09168c6b1704c60d63dfd7db2078af5f" have entirely different histories.

4 changed files with 77 additions and 62 deletions

3
.gitmodules vendored
View File

@ -1,6 +1,3 @@
[submodule "themes/hello-friend-ng"] [submodule "themes/hello-friend-ng"]
path = themes/hello-friend-ng path = themes/hello-friend-ng
url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git
[submodule "themes/typo"]
path = themes/typo
url = https://github.com/tomfran/typo.git

View File

@ -1,32 +1,36 @@
baseURL = 'https://benhays.org/' baseURL = 'https://benhays.org/'
languagecode = 'en-us' languageCode = 'en-us'
title = 'Benjamin Hays' title = 'Ben Hays'
theme = "typo" theme = "hello-friend-ng"
paginate = 10
[markup.goldmark.renderer] [markup.goldmark.renderer]
unsafe = true unsafe = true
[taxonomies]
tag = 'tags'
[params] [params]
footerContent = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>' dateform = "Jan 2, 2006"
#customCSS = ["/css/style.css"] dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
paginationSize = 20 customCSS = ["/css/style.css"]
homeCollectionTitle = 'Posts'
homeCollection = 'posts'
readTime = true
showTags = true
# Meta # Subtitle for home
description = "Benjamin Hays: Information Security Student" homeSubtitle = "Information Security Student"
keywords = "homepage, blog, benjamin, hays"
# 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 = [""] images = [""]
# Generator Options # Generator Options
breadcrumbs = true
listSummaries = false
enableRobotsTXT = true enableRobotsTXT = true
enableGitInfo = true enableGitInfo = true
enableEmoji = true enableEmoji = true
@ -34,49 +38,31 @@ enableMissingTranslationPlaceholders = false
disableRSS = false disableRSS = false
disableSitemap = false disableSitemap = false
disable404 = false disable404 = false
googleAnalytics = 'G-KBCW53YDNQ'
# Appearance settings [services]
theme = 'auto' [services.googleAnalytics]
colorPalette = 'default' ID = 'G-KBCW53YDNQ'
hideHeader = false
# Intro on main page, content is markdown [languages]
homeIntroTitle = '' [languages.en]
homeIntroContent = """ title = "Benjamin Hays"
I'm currently a full-time high school student in the USA, but I make time for studying computer science in my free-time. keywords = "Information Security"
copyright = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
readOtherPosts = "Read other posts"
The code for [this website](https://git.benhays.org/BenHays42/Personal-Website/) and a few of my other projects is available at [git.benhays.org](https://git.benhays.org) [languages.en.params]
subtitle = "Information Security Student"
If you need to reach out or just have a quick convo, you can best reach me by email: ben@benhays.org, but you can also find me on LinkedIn from time-to-time""" [[menu.main]]
identifier = "blog"
# Main menu pages name = "Posts"
[[params.menu]]
name = "home"
url = "/"
[[params.menu]]
name = "posts"
url = "/posts" url = "/posts"
#[[params.menu]] [params.logo]
#name = "about" logoMark = ""
#url = "/about" logoText = "Benjamin Hays"
logoHomeLink = "/"
# Syntax highligth on code blocks logoCursorDisabled = true
[markup]
[markup.highlight]
style = 'algol'
[[deployment.matchers]]
pattern = "^.+\\.(js|css|svg|ttf|woff2)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = true
[[deployment.matchers]]
pattern = "^.+\\.(png|jpg|gif|webp)$"
cacheControl = "max-age=31536000, no-transform, public"
gzip = false
[[params.social]] [[params.social]]
name = "email" name = "email"

33
static/css/style.css Normal file
View File

@ -0,0 +1,33 @@
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;
}
a:hover {
color: #BD93F9 !important;
}
.post-title {
font-size: 1.8rem;
}
.post-content img {
display: block;
margin-left: auto;
margin-right: auto;
}
a.footnote-ref::before {
content: '[';
}
a.footnote-ref::after {
content: ']';
}

@ -1 +0,0 @@
Subproject commit a741744e32435b48412451fe2b7e57b05591538c