switched out poison to papermod.
didnt like how that sidebar took up so much space.
This commit is contained in:
parent
5bfdffb4b9
commit
debe81f89e
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
||||||
[submodule "themes/poison"]
|
[submodule "themes/PaperMod"]
|
||||||
path = themes/poison
|
path = themes/PaperMod
|
||||||
url = https://github.com/lukeorth/poison.git
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
|
|
7
content/archives.md
Normal file
7
content/archives.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Archive"
|
||||||
|
layout: "archives"
|
||||||
|
# url: "/archives"
|
||||||
|
summary: "archives"
|
||||||
|
---
|
||||||
|
|
|
@ -3,6 +3,8 @@ title: "Archlinux install with btrfs, systemd-boot, and full-disk encryption"
|
||||||
date: 2021-04-11T19:19:51-05:00
|
date: 2021-04-11T19:19:51-05:00
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
:toc:
|
||||||
|
:toclevels: 4
|
||||||
|
|
||||||
== Installing btrfs, systemd-boot, and LUKS with suspend to disk on encrypted swap partition.
|
== Installing btrfs, systemd-boot, and LUKS with suspend to disk on encrypted swap partition.
|
||||||
|
|
||||||
|
@ -204,7 +206,7 @@ $ genfstab -U /mnt > /mnt/etc/fstab
|
||||||
|
|
||||||
make /mnt/etc/crypttab.initramfs containing:
|
make /mnt/etc/crypttab.initramfs containing:
|
||||||
|
|
||||||
{{<highlight console "linenos=false">}}
|
{{<highlight console>}}
|
||||||
$our swap device
|
$our swap device
|
||||||
swap LABEL=swap
|
swap LABEL=swap
|
||||||
|
|
||||||
|
@ -254,7 +256,7 @@ $ echo '[myhostname]' > /etc/hostname
|
||||||
|
|
||||||
and add matching entries to /etc/hosts, like so (if static ip, use that. if dynamic, use 127)
|
and add matching entries to /etc/hosts, like so (if static ip, use that. if dynamic, use 127)
|
||||||
|
|
||||||
{{<highlight console "linenos=false">}}
|
{{<highlight console>}}
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost
|
||||||
::1 localhost
|
::1 localhost
|
||||||
127.0.1.1 myhostname.localdomain myhostname
|
127.0.1.1 myhostname.localdomain myhostname
|
||||||
|
@ -282,7 +284,7 @@ $ bootctl install
|
||||||
|
|
||||||
create /boot/loader/entries/arch.conf containing:
|
create /boot/loader/entries/arch.conf containing:
|
||||||
|
|
||||||
{{<highlight console "linenos=false">}}
|
{{<highlight console>}}
|
||||||
title Arch Linux
|
title Arch Linux
|
||||||
linux /vmlinuz-linux
|
linux /vmlinuz-linux
|
||||||
initrd /intel-ucode.img
|
initrd /intel-ucode.img
|
||||||
|
@ -292,7 +294,7 @@ options root=/dev/mapper/btrfs rootflags=subvol=/root resume=/dev/mapper/swap
|
||||||
|
|
||||||
edit /boot/loader/loader.conf and add:
|
edit /boot/loader/loader.conf and add:
|
||||||
|
|
||||||
{{<highlight console "linenos=false">}}
|
{{<highlight console>}}
|
||||||
default arch.conf
|
default arch.conf
|
||||||
timeout 2
|
timeout 2
|
||||||
console-mode max
|
console-mode max
|
||||||
|
@ -315,7 +317,7 @@ $ exit
|
||||||
$ shutdown now
|
$ shutdown now
|
||||||
{{</highlight>}}
|
{{</highlight>}}
|
||||||
|
|
||||||
remove the install media, and boot back up. make sure everythign boots. from now on, configure the system as normal.
|
remove the install media, and boot back up. make sure everything boots. from now on, configure the system as normal.
|
||||||
|
|
||||||
=== configuring userspace
|
=== configuring userspace
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@ title: "Mapping caps lock to ctrl in the TTY"
|
||||||
date: 2021-05-23T04:59:28-05:00
|
date: 2021-05-23T04:59:28-05:00
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
:toc:
|
||||||
|
:toclevels: 4
|
||||||
|
|
||||||
= Caps to Ctrl in tty
|
= Caps to Ctrl in tty
|
||||||
|
|
||||||
|
|
8
content/search.md
Normal file
8
content/search.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
title: "Search" # in any language you want
|
||||||
|
layout: "search" # is necessary
|
||||||
|
# url: "/archive"
|
||||||
|
# description: "Description for Search"
|
||||||
|
summary: "search"
|
||||||
|
placeholder: "placeholder text in search input box"
|
||||||
|
---
|
111
hugo.toml
111
hugo.toml
|
@ -1,34 +1,96 @@
|
||||||
baseURL = 'https://gabevenberg.com/'
|
baseURL = 'https://gabevenberg.com/'
|
||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = 'Gabe Venberg'
|
title = 'Gabe Venberg'
|
||||||
theme = 'poison'
|
theme = 'PaperMod'
|
||||||
|
enableRobotsTXT = true
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
brand = "Gabe Venberg" # name of your site - appears in the sidebar
|
env = 'production'
|
||||||
# brand_image = "/images/test.jpg" # path to the image shown in the sidebar
|
title = 'ExampleSite'
|
||||||
description = "Technical projects I've been working on" # Used as default meta description if not specified in front matter
|
description = "ExampleSite description"
|
||||||
dark_mode = true # optional - defaults to false
|
author = 'Me'
|
||||||
# favicon = "favicon.png" # path to favicon (defaults to favicon.png)
|
DateFormat = "2006-1-2"
|
||||||
|
defaultTheme = 'dark'
|
||||||
|
disableThemeToggle = false
|
||||||
|
ShowReadingTime = false
|
||||||
|
ShowShareButtons = false
|
||||||
|
ShowPostNavLinks = true
|
||||||
|
ShowBreadCrumbs = true
|
||||||
|
ShowCodeCopyButtons = true
|
||||||
|
ShowWordCount = false
|
||||||
|
ShowRssButtonInSectionTermList = true
|
||||||
|
UseHugoToc = true
|
||||||
|
disableSpecial1stPost = false
|
||||||
|
disableScrollToTop = false
|
||||||
|
comments = false
|
||||||
|
hidemeta = false
|
||||||
|
hideFooter = true
|
||||||
|
hideSummary = false
|
||||||
|
showtoc = true
|
||||||
|
tocopen = true
|
||||||
|
mainSections = ['posts', 'docs']
|
||||||
|
|
||||||
# MENU PLACEHOLDER
|
[params.assets]
|
||||||
# Menu dict keys:
|
disableHLJS = true
|
||||||
# Name: The name to display on the menu.
|
|
||||||
# URL: The directory relative to the content directory.
|
|
||||||
# HasChildren: If the directory's files should be listed. Default is true.
|
|
||||||
# Limit: If the files should be listed, how many should be shown.
|
|
||||||
menu = [
|
|
||||||
{Name = "About", URL = "/about/", HasChildren = false},
|
|
||||||
{Name = "Posts", URL = "/posts/", Pre = "Recent", HasChildren = true, Limit = 3},
|
|
||||||
]
|
|
||||||
github_url = "https://github.com/gabevenberg"
|
|
||||||
|
|
||||||
# NOTE: If you don't want to use RSS, comment or delete the following lines
|
[params.homeInfoParams]
|
||||||
# Adds an RSS icon to the end of the socials which links to {{ .Site.BaseURL }}/index.xml
|
Title = "Gabe Venberg"
|
||||||
rss_icon = true
|
Content = """
|
||||||
# Which section the RSS icon links to, defaults to all content. See https://gohugo.io/templates/rss/#section-rss
|
Mildly interesting things Ive done.
|
||||||
rss_section = "posts"
|
"""
|
||||||
|
|
||||||
|
[[params.socialIcons]]
|
||||||
|
name = "github"
|
||||||
|
url = "https://github.com/gabevenberg"
|
||||||
|
|
||||||
|
[[params.socialIcons]]
|
||||||
|
name = "gitea"
|
||||||
|
url = "https://git.venberg.xyz/Gabe"
|
||||||
|
|
||||||
|
[[params.socialIcons]]
|
||||||
|
name = "Rss"
|
||||||
|
url = "index.xml"
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "About"
|
||||||
|
url = "about"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Resume"
|
||||||
|
url = "resume"
|
||||||
|
weight = 1
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Archive"
|
||||||
|
url = "archives"
|
||||||
|
weight = 2
|
||||||
|
|
||||||
|
[[menu.main]]
|
||||||
|
name = "Search"
|
||||||
|
url = "search"
|
||||||
|
weight = 3
|
||||||
|
|
||||||
|
[params.profileMode]
|
||||||
|
enabled = true
|
||||||
|
title = "Gabe Venberg"
|
||||||
|
imageUrl = "#"
|
||||||
|
imageTitle = "Gabe Venberg"
|
||||||
|
|
||||||
|
[[params.profileMode.buttons]]
|
||||||
|
name = "About"
|
||||||
|
url = "about"
|
||||||
|
|
||||||
|
[[params.profileMode.buttons]]
|
||||||
|
name = "Resume"
|
||||||
|
url = "resume"
|
||||||
|
|
||||||
|
[[params.profileMode.buttons]]
|
||||||
|
name = "Posts"
|
||||||
|
url = "posts"
|
||||||
|
|
||||||
|
[outputs]
|
||||||
|
home = [ "HTML", "RSS", "JSON" ]
|
||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
|
@ -46,6 +108,11 @@ theme = 'poison'
|
||||||
style = 'monokai'
|
style = 'monokai'
|
||||||
tabWidth = 4
|
tabWidth = 4
|
||||||
|
|
||||||
|
[markup.tableOfContents]
|
||||||
|
endLevel = 5
|
||||||
|
ordered = false
|
||||||
|
startLevel = 3
|
||||||
|
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
enableInlineShortcodes = false
|
enableInlineShortcodes = false
|
||||||
|
|
86
syntax.css
Normal file
86
syntax.css
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
/* Background */ .bg { color: #f8f8f2; background-color: #272822; }
|
||||||
|
/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #272822; }
|
||||||
|
/* Other */ .chroma .x { }
|
||||||
|
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
|
||||||
|
/* CodeLine */ .chroma .cl { }
|
||||||
|
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
|
||||||
|
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
|
||||||
|
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .chroma .line { display: flex; }
|
||||||
|
/* Keyword */ .chroma .k { color: #66d9ef }
|
||||||
|
/* KeywordConstant */ .chroma .kc { color: #66d9ef }
|
||||||
|
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
|
||||||
|
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
|
||||||
|
/* KeywordPseudo */ .chroma .kp { color: #66d9ef }
|
||||||
|
/* KeywordReserved */ .chroma .kr { color: #66d9ef }
|
||||||
|
/* KeywordType */ .chroma .kt { color: #66d9ef }
|
||||||
|
/* Name */ .chroma .n { }
|
||||||
|
/* NameAttribute */ .chroma .na { color: #a6e22e }
|
||||||
|
/* NameBuiltin */ .chroma .nb { }
|
||||||
|
/* NameBuiltinPseudo */ .chroma .bp { }
|
||||||
|
/* NameClass */ .chroma .nc { color: #a6e22e }
|
||||||
|
/* NameConstant */ .chroma .no { color: #66d9ef }
|
||||||
|
/* NameDecorator */ .chroma .nd { color: #a6e22e }
|
||||||
|
/* NameEntity */ .chroma .ni { }
|
||||||
|
/* NameException */ .chroma .ne { color: #a6e22e }
|
||||||
|
/* NameFunction */ .chroma .nf { color: #a6e22e }
|
||||||
|
/* NameFunctionMagic */ .chroma .fm { }
|
||||||
|
/* NameLabel */ .chroma .nl { }
|
||||||
|
/* NameNamespace */ .chroma .nn { }
|
||||||
|
/* NameOther */ .chroma .nx { color: #a6e22e }
|
||||||
|
/* NameProperty */ .chroma .py { }
|
||||||
|
/* NameTag */ .chroma .nt { color: #f92672 }
|
||||||
|
/* NameVariable */ .chroma .nv { }
|
||||||
|
/* NameVariableClass */ .chroma .vc { }
|
||||||
|
/* NameVariableGlobal */ .chroma .vg { }
|
||||||
|
/* NameVariableInstance */ .chroma .vi { }
|
||||||
|
/* NameVariableMagic */ .chroma .vm { }
|
||||||
|
/* Literal */ .chroma .l { color: #ae81ff }
|
||||||
|
/* LiteralDate */ .chroma .ld { color: #e6db74 }
|
||||||
|
/* LiteralString */ .chroma .s { color: #e6db74 }
|
||||||
|
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
|
||||||
|
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
|
||||||
|
/* LiteralStringChar */ .chroma .sc { color: #e6db74 }
|
||||||
|
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
|
||||||
|
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
|
||||||
|
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
|
||||||
|
/* LiteralStringEscape */ .chroma .se { color: #ae81ff }
|
||||||
|
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
|
||||||
|
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
|
||||||
|
/* LiteralStringOther */ .chroma .sx { color: #e6db74 }
|
||||||
|
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
|
||||||
|
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
|
||||||
|
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
|
||||||
|
/* LiteralNumber */ .chroma .m { color: #ae81ff }
|
||||||
|
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
|
||||||
|
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
|
||||||
|
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
|
||||||
|
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
|
||||||
|
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
|
||||||
|
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
|
||||||
|
/* Operator */ .chroma .o { color: #f92672 }
|
||||||
|
/* OperatorWord */ .chroma .ow { color: #f92672 }
|
||||||
|
/* Punctuation */ .chroma .p { }
|
||||||
|
/* Comment */ .chroma .c { color: #75715e }
|
||||||
|
/* CommentHashbang */ .chroma .ch { color: #75715e }
|
||||||
|
/* CommentMultiline */ .chroma .cm { color: #75715e }
|
||||||
|
/* CommentSingle */ .chroma .c1 { color: #75715e }
|
||||||
|
/* CommentSpecial */ .chroma .cs { color: #75715e }
|
||||||
|
/* CommentPreproc */ .chroma .cp { color: #75715e }
|
||||||
|
/* CommentPreprocFile */ .chroma .cpf { color: #75715e }
|
||||||
|
/* Generic */ .chroma .g { }
|
||||||
|
/* GenericDeleted */ .chroma .gd { color: #f92672 }
|
||||||
|
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||||
|
/* GenericError */ .chroma .gr { }
|
||||||
|
/* GenericHeading */ .chroma .gh { }
|
||||||
|
/* GenericInserted */ .chroma .gi { color: #a6e22e }
|
||||||
|
/* GenericOutput */ .chroma .go { }
|
||||||
|
/* GenericPrompt */ .chroma .gp { }
|
||||||
|
/* GenericStrong */ .chroma .gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .chroma .gu { color: #75715e }
|
||||||
|
/* GenericTraceback */ .chroma .gt { }
|
||||||
|
/* GenericUnderline */ .chroma .gl { }
|
||||||
|
/* TextWhitespace */ .chroma .w { }
|
1
themes/PaperMod
Submodule
1
themes/PaperMod
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 4a924cef54081b61530a30bd69d442ae95f16561
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 962b04d220807f1059874787fc6b461a82af1ec9
|
|
Loading…
Reference in a new issue