Merge pull request 'Change Theme to Typo' (#1) from change_theme into main
All checks were successful
Build Hugo Site / build (push) Successful in 10s
All checks were successful
Build Hugo Site / build (push) Successful in 10s
Reviewed-on: #1
This commit is contained in:
commit
d5ba1b6ac0
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[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
102
hugo.toml
@ -1,68 +1,82 @@
|
||||
baseURL = 'https://benhays.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Ben Hays'
|
||||
theme = "hello-friend-ng"
|
||||
paginate = 10
|
||||
languagecode = 'en-us'
|
||||
title = 'Benjamin Hays'
|
||||
theme = "typo"
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
[taxonomies]
|
||||
tag = 'tags'
|
||||
|
||||
[params]
|
||||
dateform = "Jan 2, 2006"
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-01-02"
|
||||
dateformNumTime = "2006-01-02 15:04"
|
||||
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"]
|
||||
|
||||
customCSS = ["/css/style.css"]
|
||||
paginationSize = 20
|
||||
homeCollectionTitle = 'Posts'
|
||||
homeCollection = 'posts'
|
||||
readTime = true
|
||||
showTags = true
|
||||
|
||||
# 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"
|
||||
# Meta
|
||||
description = "Benjamin Hays: Information Security Student"
|
||||
keywords = "homepage, blog, benjamin, hays"
|
||||
images = [""]
|
||||
|
||||
# Generator Options
|
||||
breadcrumbs = true
|
||||
listSummaries = false
|
||||
enableRobotsTXT = true
|
||||
enableGitInfo = true
|
||||
enableEmoji = true
|
||||
enableMissingTranslationPlaceholders = false
|
||||
disableRSS = false
|
||||
disableSitemap = false
|
||||
disable404 = false
|
||||
disableRSS = false
|
||||
disableSitemap = false
|
||||
disable404 = false
|
||||
googleAnalytics = 'G-KBCW53YDNQ'
|
||||
|
||||
[services]
|
||||
[services.googleAnalytics]
|
||||
ID = 'G-KBCW53YDNQ'
|
||||
# Appearance settings
|
||||
theme = 'auto'
|
||||
colorPalette = 'default'
|
||||
hideHeader = false
|
||||
|
||||
[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"
|
||||
# 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.en.params]
|
||||
subtitle = "Information Security Student"
|
||||
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)
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "blog"
|
||||
name = "Posts"
|
||||
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"
|
||||
url = "/posts"
|
||||
|
||||
[params.logo]
|
||||
logoMark = ""
|
||||
logoText = "Benjamin Hays"
|
||||
logoHomeLink = "/"
|
||||
logoCursorDisabled = true
|
||||
#[[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.social]]
|
||||
name = "email"
|
||||
|
@ -1,33 +0,0 @@
|
||||
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
themes/typo
Submodule
1
themes/typo
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a741744e32435b48412451fe2b7e57b05591538c
|
Loading…
Reference in New Issue
Block a user