Initial commit of repo.

This commit is contained in:
Colin Diem
2020-07-08 21:11:53 -04:00
commit 3c3eb54108
34 changed files with 3620 additions and 0 deletions

9
.gitmodules vendored Normal file
View File

@@ -0,0 +1,9 @@
[submodule "themes/future-imperfect"]
path = themes/future-imperfect
url = https://github.com/pacollins/hugo-future-imperfect-slim.git
[submodule "themes/hugo-future-imperfect-slim"]
path = themes/hugo-future-imperfect-slim
url = https://github.com/pacollins/hugo-future-imperfect-slim.git
[submodule "themes/zzo"]
path = themes/zzo
url = https://github.com/zzossig/hugo-theme-zzo.git

6
archetypes/default.md Normal file
View File

@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@@ -0,0 +1,43 @@
baseURL = "http://crypticturtle.mynetgear.com:8080/" # The URL of your site.
title = "Colin's Blog" # Title of your site
theme = "zzo" # Name of Zzo theme folder in `themes/`.
defaultContentLanguage = "en" # Default language to use (if you setup multilingual)
defaultContentLanguageInSubdir = false # baseURL/en/, baseURL/kr/ ...
hasCJKLanguage = false # Set `true` for Chinese/Japanese/Korean languages.
summaryLength = 70 # The length of a post description on a list page.
buildFuture = true # if true, we can use future date for talks page
copyright = "©{year}, All Rights Reserved" # copyright symbol: $copy; current year: {year}
timeout = 10000
enableEmoji = true
paginate = 13 # Number of items per page in paginated lists.
rssLimit = 100
enableGitInfo = false # When true, the modified date will appear on a summary and single page. Since GitHub info needs to be fetched, this feature will slow down to build depending on a page number you have
googleAnalytics = ""
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
hardWraps = true
unsafe = true
xHTML = true
[markup.highlight]
codeFences = true
lineNos = true
lineNumbersInTable = true
noClasses = false
[markup.tableOfContents]
endLevel = 3
ordered = false
startLevel = 2
[outputs]
home = ["HTML", "RSS", "JSON"]
[taxonomies]
category = "categories"
tag = "tags"
series = "series"

View File

@@ -0,0 +1,5 @@
[en]
title = "Colin's Blog"
languageName = "English"
weight = 1

View File

@@ -0,0 +1,30 @@
[[main]]
identifier = "about"
name = "about"
url = "about"
weight = 1
[[main]]
identifier = "archive"
name = "archive"
url = "archive"
weight = 2
[[main]]
identifier = "gallery"
name = "gallery"
url = "gallery"
weight = 3
[[main]]
identifier = "posts"
name = "posts"
url = "posts"
weight = 4
[[main]]
identifier = "notes"
name = "notes"
url = "notes"
weight = 5

197
config/_default/params.toml Normal file
View File

@@ -0,0 +1,197 @@
logoText = "Colin's Blog" # Logo text that appears in the site navigation bar.
logoType = "short" # long, short -> short: squre shape includes logo text, long: rectangle shape not includes logo text
logo = true # Logo that appears in the site navigation bar.
description = "Just the random thoughts of a random person." # for SEO
custom_css = [] # custom_css = ["scss/custom.scss"] and then make file at root/assets/scss/custom.scss
custom_js = [] # custom_js = ["js/custom.js"] and then make file at root/assets/js/custom.js
useFaviconGenerator = false # https://www.favicon-generator.org/
languagedir = "ltr" # ltr / rtl
themeOptions = ["dark", "light", "hacker", "solarized", "kimbie"] # select options for site color theme
notAllowedTypesInHome = ["contact", "talks", "about", "showcase", "archive"] # not allowed page types in home page. type can be set in front matter or default to folder name.
notAllowedTypesInHomeSidebar = ["about", "archive", "showcase"] # not allowed page types in home page sidebar(recent post titles).
notAllowedTypesInArchive = ["about", "talks", "showcase", "gallery"] # not allowed page types in archive page
notAllowedTypesInHomeFeed = ["about", "archive", "contact", "talks", "showcase", "publication", "presentation", "resume", "gallery"]
enablePinnedPosts = true # show pinned posts first in the main view
viewportSize = "normal" # widest, wider, wide, normal, narrow
enableUiAnimation = true
hideSingleContentsWhenJSDisabled = false
minItemsToShowInTagCloud = 1 # Minimum items to show in tag cloud
# header
homeHeaderType = "text" # text, img, slide
# menu
showMobileMenuTerms = ["tags", "categories", "series"]
# navbar
enableThemeChange = true # site color theme
# body
enableBreadcrumb = true # breadcrumb for list, single page
enableSearch = true # site search with Fuse
enableSearchHighlight = true # when true, search keyword will be highlighted
enableGoToTop = true # scroll to top
enableWhoami = true # at the end of single page
summaryShape = "classic" # card, classic, compact
archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
archivePaginate = 13 # items per page
paginateWindow = 1 # setting it to 1 gives 7 buttons, 2 gives 9, etc. If set 1: [1 ... 4 5 6 ... 356] [1 2 3 4 5 ... 356] etc
talksPaginate = 8 # items per page
talksGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
# whoami: usage - home page sidebar, single page bottom of post. all values can be empty
myname = "Colin Diem"
email = "cgdiem@protonmail.com"
whoami = "Software Engineer, Amateur Philosopher"
authorImageUrl = "/images/self.jpg"
authorImage = "/images/self.jpg"
bioImageUrl = "/images/self.jpg" # image url like "http//..." or "images/anyfoldername/mybioimage.jpg" If not set, we find a avatar image in root/static/images/whoami/avatar.(png|jpg|svg)
useGravatar = false # we use this option highest priority
location = "Michigan, USA"
# organization = ""
# link = "https://github.com/zzossig/hugo-theme-zzo"
# sidebar
enableBio = true # in home page sidebar
enableBioImage = true # in home page sidebar
enableSidebar = true # Set to false to create the full width of the content.
enableSidebarTags = true # if you want to use tags.
enableSidebarSeries = true
enableSidebarCategories = true
enableHomeSidebarTitles = true
enableListSidebarTitles = true
enableToc = true # single page table of contents, you can replace this param to toc(toc = true)
hideToc = false # Hide or Show toc
tocPosition = "inner" # inner, outer
tocFolding = false
enableTocSwitch = true # single page table of contents visibility switch
itemsPerCategory = 5 # maximum number of posts shown in the sidebar.
sidebarPosition = "right" # bio, profile component layout position
tocLevels = ["h2", "h3", "h4"] # minimum h2, maximum h4 in your article
enableSidebarPostsByOrder = false # another lists in the sidebar
# footer
showPoweredBy = true # show footer text: Powered by Hugo and Zzo theme
showFeedLinks = true # RSS Feed
showSocialLinks = true # email, facebook, twitter ...
enableLangChange = false # show button at bottom left of footer.
# service
googleTagManager = "" # GTM-XXXXXX
baiduAnalytics = "" # alternative of google analytics
enableBusuanzi = false # if set true, total page view, total unique visitors show up in the footer.
busuanziSiteUV = true # unique visitors (total number of visitors)
busuanziSitePV = true # site total page view count
busuanziPagePV = true # post view count
# comment
enableComment = true
disqus_shortname = ""
commento = false
[gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
[utterances] # https://utteranc.es/
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
message = "" # Optional
link = "" # Optional
[gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
owner = "" # Your GitHub ID
repo = "" # The repo to store comments
clientId = "" # Your client ID
clientSecret = "" # Your client secret
# Valine.
# You can get your appid and appkey from https://leancloud.cn
# more info please open https://valine.js.org
[valine]
enable = false
appId = '你的appId'
appKey = '你的appKey'
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
verify = false # Verification code
avatar = 'mm'
placeholder = '说点什么吧...'
visitor = false
[changyan]
changyanAppid = "" # Changyan app id # 畅言
changyanAppkey = "" # Changyan app key
[livere]
livereUID = "" # LiveRe UID # 来必力
# Isso: https://posativ.org/isso/
[isso]
enable = false
scriptSrc = "" # "https://isso.example.com/js/embed.min.js"
dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'"
[socialOptions] # if set, social icons will show up.
email = "mailto:your@email.com"
phone = ""
facebook = "http://example.org/"
twitter = "http://example.org/"
github = "https://github.com/zzossig/hugo-theme-zzo"
stack-overflow = ""
instagram = ""
google-plus = ""
youtube = ""
medium = ""
tumblr = ""
linkedin = ""
pinterest = ""
stack-exchange = ""
telegram = ""
steam = ""
weibo = ""
douban = ""
csdn = ""
gitlab = ""
mastodon = ""
jianshu = ""
zhihu = ""
signal = ""
whatsapp = ""
matrix = ""
xmpp = ""
dev-to = ""
gitea = ""
google-scholar = ""
twitch = ""
[donationOptions]
enable = false # if set, the donation button will show up on the single page.
alipay = "" # Alipay QR Code image (example path: images/donation/alipay-qrcode.png) and put your file at root/static/images/donation/
wechat = "" # Wechat pay QR Code image (example path: same as above)
paypal = "" # Paypal URL
patreon = "" # Patreon URL
bitcoin = "" # example path: images/donation/bitcoin-code-image.png
[copyrightOptions]
enableCopyrightLink = false # if set, you can add copyright link
copyrightLink = ""
copyrightLinkImage = ""
copyrightLinkText = ""
# possible share name: "facebook","twitter", "reddit", "linkedin", "tumblr", "weibo", "douban", "line", "whatsapp", "telegram"
[[share]]
name = "facebook"
[[share]]
name = "twitter"
username = ""
[[footerLinks]]
name = ""
link = ""
[[footerLinks]]
name = ""
link = ""

View File

@@ -0,0 +1,8 @@
---
title: "Archive"
date: 2020-07-04T03:41:13-04:00
type: archive
description: Archive Page
titleWrap: wrap # wrap, noWrap
---

6
content/blog/_index.md Normal file
View File

@@ -0,0 +1,6 @@
+++
aliases = ["posts","articles","blog","showcase","docs"]
title = "Posts"
author = "Hugo Authors"
tags = ["index"]
+++

View File

@@ -0,0 +1,11 @@
---
title: "Still just goofing around with this"
date: 2020-07-03T12:49:14-04:00
draft: false
tags: ["blog", "development"]
---
# Some witty title
Well, I'm still goofing around with this hugo stuff. Today I'm thinking about updating the theme I'm using to have a darker color pallete.
I definitely like a darker pallete, especially since I tend to work with a very large monitor in a typically dimly lit room.
Lighter colors end up making the monitor way to bright too look at for long periods of time.

12
content/blog/blog-4.md Normal file
View File

@@ -0,0 +1,12 @@
---
title: "Blogging from my phone"
date: 2020-07-03T13:59:19-04:00
draft: false
tags: ["blog"]
author: "Colin Diem"
authorImage: "/images/self.jpg"
---
# SSH in from phone
Well, I am attempting to blog from my phone, because that would be kind of cool to pull off.
It's obviously not the most ideal interface for this, but it is essentially working.
And it's pretty cool to have access to update from anywhere I have cell reception.

View File

View File

View File

@@ -0,0 +1,10 @@
---
title: "Blogging from my phone"
date: 2020-07-03T13:59:19-04:00
draft: false
tags: [
---
# SSH in from phone
Well, I am attempting to blog from my phone, because that would be kind of cool to pull off.
It's obviously not the most ideal interface for this, but it is essentially working.
And it's pretty cool to have access to update from anywhere I have cell reception.

13
content/blog/manjaro.md Normal file
View File

@@ -0,0 +1,13 @@
---
title: "Manjaro"
date: 2020-07-08T00:58:45-04:00
draft: false
tags: ["linux", "pc"]
author: "Colin Diem"
---
# Time for a change of pace
So, I recently decided it was time for a change. I decided to dual boot Manjaro alongside my normal Windows 10 install. I recently upgraded my storage and was able to clear off a 500GB SSD, and I decided this was the perfect opportunity to give a dual boot a try.
There were certainly some hurdles to overcome. Initially I couldn't get the installer to correctly setup the boot loader. I ended up have to put my BIOS into compatability mode to make it work.
We'll see how the experiment goes I supppose. Time will tell.

View File

@@ -0,0 +1,13 @@
---
title: "My First Post"
date: 2020-06-28T21:44:45-04:00
draft: false
images: ["img/Vintage-Flower-Background.jpg"]
tags: ["blog", "photos"]
catagories: ["blog", "beginner"]
---
# This is it. This is content.
So, this is my first attempt at building a hugo site served on my Raspberry Pi 4.
I hope this goes well.

View File

@@ -0,0 +1,8 @@
---
title: "Second Blog"
date: 2020-06-28T23:45:43-04:00
draft: false
tags: ["blog", "development"]
---
# This is the second blog.
I wrote a simple bash script to help with deploying the site. Now I am just testing how well it works.

16
content/gallery/index.md Normal file
View File

@@ -0,0 +1,16 @@
---
title: "Gallery"
date: 2020-07-03T13:48:16-04:00
description:
type: gallery
mode: at-once # at-once or one-by-one
tags:
-
series:
-
categories:
-
images: # when mode is one-by-one, images front matter works
- image:
caption:
---

10
deploy.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
clear
echo "Running hugo and copying the public directory to the /srv/http directory."
cd /home/pi/quickstart
hugo
cp -r /home/pi/quickstart/public/. /srv/http
echo "If there were no erros, I think we did it!"

View File

@@ -0,0 +1,172 @@
# For a description of these parameters, please visit the theme wiki.
# https://github.com/pacollins/hugo-future-imperfect-slim/wiki/config.toml
baseurl = "http://crypticturtle.mynetgear.com:8080"
DefaultContentLanguage = "en"
title = "Colin's Blog"
theme = "hugo-future-imperfect-slim"
paginate = 3
disqusShortname = ""
googleAnalytics = ""
pluralizeListTitles = false
disableLanguages = [""]
[outputs]
home = ["html", "json"]
[params]
enableCDN = false
cssFiles = ["default"]
jsFiles = ["default"]
highlightjs = true
highlightjsTheme = "github"
highlightjsLang = ["html", "css", "js", "toml"]
viewMorePostsLink = "/blog/"
readingTime = true
socialShare = []
[params.meta]
description = "A theme by HTML5 UP, ported by Julio Pescador. Slimmed and enhanced by Patrick Collins. Multilingual by StatnMap. Powered by Hugo."
author = "HTML5UP and Hugo"
favicon = false
svg = true
faviconVersion = "1"
msColor = "#ffffff"
iOSColor = "#ffffff"
[params.header]
navbarTitle = "Colins's Blog"
dynamicTitles = true
searchMenu = true
shareMenu = true
languageMenu = true
[params.intro]
header = "Colin's Hugo Site"
paragraph = "Just some strange and rambling ruminations."
rssIntro = true
socialIntro = true
hideWhenSingleColumn = false
alwaysOnHomepage = false
# [params.intro.pic]
# src = "img/main/logo.jpg"
# shape = "circle"
# width = ""
# alt = "Colin's Blog"
[params.sidebar]
about = "Some random thoguhts"
postAmount = 5
categories = true
categoriesByCount = true
[params.footer]
rssFooter = true
socialFooter = true
[params.staticman]
enabled = true
api = "" # No Trailing Slash
gitProvider = ""
username = ""
repo = ""
branch = ""
[params.staticman.recaptcha]
siteKey = ""
encryptedKey = ""
[menu]
[[menu.main]]
name = "Home"
identifier = "home"
url = "/"
pre = "<i class='fa fa-home'></i>"
weight = 1
[[menu.main]]
name = "About"
identifier = "about"
url = "/about/"
pre = "<i class='far fa-id-card'></i>"
weight = 2
[[menu.main]]
name = "Blog"
identifier = "blog"
url = "/blog/"
pre = "<i class='far fa-newspaper'></i>"
weight = 3
[[menu.main]]
name = "Categories"
identifier = "categories"
url = "/categories/"
pre = "<i class='fas fa-sitemap'></i>"
weight = 5
[[menu.main]]
name = "Contact"
identifier = "contact"
url = "/contact/"
pre = "<i class='far fa-envelope'></i>"
weight = 6
[Languages]
[Languages.en]
LanguageCode = "en"
LanguageName = "English"
weight = 1
[social]
# Coding Communities
github = ""
gitlab = ""
stackoverflow = "" # User Number
bitbucket = ""
jsfiddle = ""
codepen = ""
# Visual Art Communities
deviantart = ""
flickr = ""
behance = ""
dribbble = ""
# Publishing Communities
wordpress = ""
medium = ""
# Professional/Business Oriented Communities
linkedin = ""
linkedin_company = ""
foursquare = ""
xing = ""
slideshare = ""
# Social Networks
facebook = ""
googleplus = ""
reddit = ""
quora = ""
youtube = ""
vimeo = ""
whatsapp = "" # WhatsApp Number
# WeChat and QQ need testing.
wechat = ""
qq = "" # User ID Number
instagram = ""
tumblr = ""
twitter = ""
strava = ""
skype = ""
snapchat = ""
pinterest = ""
telegram = ""
vine = ""
googlescholar = ""
orcid = ""
researchgate = ""
keybase = ""
mastodon = ""
# Email
email = ""

4
old.config.toml Normal file
View File

@@ -0,0 +1,4 @@
theme="future-imperfect"
baseURL = "http:localhost:80"
languageCode = "en-us"
title = "My New Hugo Site"

View File

@@ -0,0 +1 @@
{"Target":"scss/main.css","MediaType":"text/css","Data":{}}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"Target":"css/main.min.css","MediaType":"text/css","Data":{}}

View File

@@ -0,0 +1 @@
{"Target":"scss/main.css","MediaType":"text/css","Data":{}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 MiB

BIN
static/images/self.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 MiB

1
themes/zzo Submodule

Submodule themes/zzo added at 6757d0f3b1