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"]
path = themes/hello-friend-ng
url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git
[submodule "themes/typo"]
path = themes/typo
url = https://github.com/tomfran/typo.git

102
hugo.toml
View File

@ -1,82 +1,68 @@
baseURL = 'https://benhays.org/'
languagecode = 'en-us'
title = 'Benjamin Hays'
theme = "typo"
languageCode = 'en-us'
title = 'Ben Hays'
theme = "hello-friend-ng"
paginate = 10
[markup.goldmark.renderer]
unsafe = true
[taxonomies]
tag = 'tags'
[params]
footerContent = '<a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
#customCSS = ["/css/style.css"]
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04"
paginationSize = 20
homeCollectionTitle = 'Posts'
homeCollection = 'posts'
readTime = true
showTags = true
customCSS = ["/css/style.css"]
# Meta
description = "Benjamin Hays: Information Security Student"
keywords = "homepage, blog, benjamin, hays"
# 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
breadcrumbs = true
listSummaries = false
enableRobotsTXT = true
enableGitInfo = true
enableEmoji = true
enableMissingTranslationPlaceholders = false
disableRSS = false
disableSitemap = false
disable404 = false
googleAnalytics = 'G-KBCW53YDNQ'
disableRSS = false
disableSitemap = false
disable404 = false
# Appearance settings
theme = 'auto'
colorPalette = 'default'
hideHeader = false
[services]
[services.googleAnalytics]
ID = 'G-KBCW53YDNQ'
# Intro on main page, content is markdown
homeIntroTitle = ''
homeIntroContent = """
I'm currently a full-time high school student in the USA, but I make time for studying computer science in my free-time.
[languages]
[languages.en]
title = "Benjamin Hays"
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"""
# Main menu pages
[[params.menu]]
name = "home"
url = "/"
[[params.menu]]
name = "posts"
[[menu.main]]
identifier = "blog"
name = "Posts"
url = "/posts"
#[[params.menu]]
#name = "about"
#url = "/about"
# Syntax highligth on code blocks
[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.logo]
logoMark = ""
logoText = "Benjamin Hays"
logoHomeLink = "/"
logoCursorDisabled = true
[[params.social]]
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