Initial commit

This commit is contained in:
Jacob Windle 2017-10-24 23:26:21 -04:00
commit cb5112b154
7 changed files with 115 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/public
themes/

14
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,14 @@
image: monachus/hugo
before_script:
- git submodule init
- git submodule update --force
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/blackburn"]
path = themes/blackburn
url = https://github.com/yoshiharuyamashita/blackburn

6
archetypes/default.md Normal file
View File

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

66
config.toml Normal file
View File

@ -0,0 +1,66 @@
baseurl = "https://jake-windle.gitlab.io/" # Make sure to end baseurl with a '/'
title = "tail -f thoughts.txt"
author = "Your name"
# Shown in the side menu
copyright = "© 2016. All rights reserved."
canonifyurls = true
paginate = 10
theme = "blackburn"
[indexes]
tag = "tags"
topic = "topics"
[params]
# Shown in the home page
subtitle = "Jacob Windle"
brand = "Jake W"
googleAnalytics = "Your Google Analytics tracking ID"
disqus = "jakewindle-life"
# CSS name for highlight.js
highlightjs = "androidstudio"
highlightjs_extra_languages = ["yaml"]
dateFormat = "02 Jan 2006, 15:04"
# Include any custom CSS and/or JS files
# (relative to /static folder)
[menu]
# Shown in the side menu.
[[menu.main]]
name = "Home"
pre = "<i class='fa fa-home fa-fw'></i>"
weight = 1
identifier = "home"
url = "/"
[[menu.main]]
name = "Posts"
pre = "<i class='fa fa-list fa-fw'></i>"
weight = 2
identifier = "post"
url = "/post/"
[[menu.main]]
name = "About"
pre = "<i class='fa fa-user fa-fw'></i>"
weight = 3
identifier = "about"
url = "/about/"
[[menu.main]]
name = "Contact"
pre = "<i class='fa fa-phone fa-fw'></i>"
weight = 4
url = "/contact/"
[social]
# Link your social networking accounts to the side menu
# by entering your username or ID.
# SNS microblogging
# SNS career oriented
linkedin = "windlejacob12"
# SNS news
# Techie
github = "jaketothepast"
gitlab = "jake-windle"

7
content/about.md Normal file
View File

@ -0,0 +1,7 @@
---
title: "About"
date: 2017-10-24T20:33:51-04:00
draft: true
---
Working hard or hardly working

View File

@ -0,0 +1,17 @@
---
title: "Migrating to Hugo"
date: 2017-10-24T20:30:43-04:00
draft: true
---
The migration is complete! I made the decision in the past week to move away from Middleman (sorry Middleman) and pick up a new blogging platform with more hutzpah. I've read several articles and posts about [Hugo](gohugo.io) and heard that it is an absolute blast to work with. How simple is it would you say? So simple that all I really did was install Hugo, download a theme, configure that theme and BOOM here I am writing content on my new platform.
Hugo makes the boring stuff easy. I did not have to write any HTML or CSS. The Hugo theme [author](http://yoshiharuyamashita.com/) has literally done all of this for me. Yoshiharu if I ever get the chance to meet you, I owe you. This theme is beautiful and is exactly the look I wanted my personal site to display. Hugo also builds sites in milliseconds. Using the new and shiny Golang, Hugo is able to churn through a site render in <1ms per page. This is extraordinary. Development changes and builds are nearly instantly completed, and the speed of the build never ceases to amaze.
# Getting Hugo on Fedora
My Hugo setup is currently on a Fedora 27 laptop. I wanted to share some of the steps I followed to get Hugo up and running, hopefully to help some other developer out there that may not be the best at front-end development get their ideas heard.
## Snapcraft
Snapcraft and snaps are a method of package management created by Canonical, the company behind Ubuntu. Snaps are a means of isolating applications in a self-contained environment that includes everything that the application needs to runs. Once you have downloaded the Hugo snap, you will be able to start working with Hugo.