Skip to content
Permalink
Browse files

Moved gitUrl config, moved posts into category folders, removed old t…

…heme

the gitUrl should be in the params section
images are now in their respective categories
posts are now in main category folders
testing cover images per post
updated redirects
testing netlify image translation

Fixed gitUrl, Updated copyright

gitUrl was incorrect
All the pages need a correct copyright
  • Loading branch information...
cpitkin committed Jul 3, 2019
1 parent 5b5634f commit e2f2c5575b5ad12459d6064b7c01d5d348fb8c2c
Showing with 35 additions and 4,643 deletions.
  1. +3 −3 archetypes/posts.md
  2. +3 −3 config.toml
  3. +1 −1 content/posts/{ → news}/new-site.md
  4. +2 −2 content/posts/{ → technology}/automated-video-transcoding-with-openfaas.md
  5. +1 −1 content/posts/{ → technology}/install-graylog-on-freebsd.md
  6. +1 −1 content/posts/{ → technology}/redirect-test-release.md
  7. 0 content/posts/{ → technology}/server_rebuild.md
  8. +1 −1 content/posts/{ → technology}/setup-openfaas-nomad.md
  9. +23 −3 netlify.toml
  10. BIN static/img/posts/{ → news}/martijn-baudoin-4h0HqC3K4-c-unsplash.jpg
  11. BIN static/img/posts/{ → technology}/michael-walter-lLgQxglA-pE-unsplash.jpg
  12. BIN static/img/posts/{ → technology}/quinten-de-graaf-L4gN0aeaPY4-unsplash.jpg
  13. BIN static/img/posts/{ → technology}/shahadat-shemul-BfrQnKBulYQ-unsplash.jpg
  14. +0 −674 themes/osprey/LICENSE
  15. +0 −163 themes/osprey/README.md
  16. +0 −6 themes/osprey/archetypes/blog.md
  17. +0 −5 themes/osprey/archetypes/default.md
  18. +0 −10 themes/osprey/archetypes/gallery.md
  19. +0 −48 themes/osprey/exampleSite/config.toml
  20. +0 −15 themes/osprey/exampleSite/content/about.md
  21. +0 −1,147 themes/osprey/exampleSite/content/blog/creating-a-new-theme.md
  22. +0 −343 themes/osprey/exampleSite/content/blog/goisforlovers.md
  23. +0 −88 themes/osprey/exampleSite/content/blog/hugoisforlovers.md
  24. +0 −153 themes/osprey/exampleSite/content/blog/migrate-from-jekyll.md
  25. +0 −10 themes/osprey/exampleSite/content/gallery/hugo.md
  26. +0 −10 themes/osprey/exampleSite/content/gallery/osprey.md
  27. +0 −10 themes/osprey/exampleSite/content/gallery/rugged-fellows-guide.md
  28. +0 −10 themes/osprey/exampleSite/content/gallery/toma-nistor.md
  29. BIN themes/osprey/exampleSite/static/images/hugo.png
  30. BIN themes/osprey/exampleSite/static/images/osprey-logo.png
  31. BIN themes/osprey/exampleSite/static/images/osprey.png
  32. BIN themes/osprey/exampleSite/static/images/rugged-fellows-guide.png
  33. BIN themes/osprey/exampleSite/static/images/toma-nistor.png
  34. BIN themes/osprey/images/osprey-logo.png
  35. BIN themes/osprey/images/screenshot.png
  36. BIN themes/osprey/images/tn.png
  37. +0 −10 themes/osprey/layouts/404.html
  38. +0 −23 themes/osprey/layouts/_default/list.html
  39. +0 −28 themes/osprey/layouts/_default/single.html
  40. +0 −1 themes/osprey/layouts/gallery/list.html
  41. +0 −1 themes/osprey/layouts/gallery/single.html
  42. +0 −6 themes/osprey/layouts/index.html
  43. +0 −18 themes/osprey/layouts/partials/about.html
  44. +0 −22 themes/osprey/layouts/partials/blog.html
  45. +0 −19 themes/osprey/layouts/partials/contact.html
  46. 0 themes/osprey/layouts/partials/css.html
  47. +0 −16 themes/osprey/layouts/partials/disqus.html
  48. +0 −74 themes/osprey/layouts/partials/footer.html
  49. +0 −96 themes/osprey/layouts/partials/gallery.html
  50. +0 −106 themes/osprey/layouts/partials/header.html
  51. +0 −21 themes/osprey/layouts/sitemap.xml
  52. BIN themes/osprey/static/images/icon-menu.png
  53. BIN themes/osprey/static/images/icon-x.png
  54. BIN themes/osprey/static/images/osprey-logo.png
  55. BIN themes/osprey/static/images/osprey.png
  56. +0 −1 themes/osprey/static/scripts/index.js
  57. +0 −1 themes/osprey/static/scripts/main.js
  58. +0 −67 themes/osprey/static/scripts/src/index.js
  59. +0 −27 themes/osprey/static/scripts/src/main.js
  60. +0 −1 themes/osprey/static/styles/main.css
  61. +0 −882 themes/osprey/static/styles/scss/flexboxgrid.scss
  62. +0 −504 themes/osprey/static/styles/scss/main.scss
  63. +0 −12 themes/osprey/theme.toml
@@ -2,10 +2,10 @@
date = {{ .Date }}
title = "{{ replace .Name "-" " " | title }}"
description = "Text about this post"
images = ["post-cover.png"]
cover = "posts/[category]/post-cover.png"
series = []
tags = []
categories = []
tags = ["open source", "openfaas", "nomad", "minio", "automation", "docker","news","graylog","nodejs", "npm", "open source"]
categories = ["technology","news","travel"]
audio = []
videos = []
draft = true
@@ -15,7 +15,7 @@ PygmentsCodeFences = true
# RSS settings
disableRSS = false
rssLimit = 10
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
copyright = "2019 Charlie Pitkin"

# General settings
enableRobotsTXT = true
@@ -27,14 +27,14 @@ disableHugoGeneratorInject = false

# Enable Git commit links in posts
enableGitInfo = true
gitUrl = "https://github.com/cpitkin/website" # Prefix of link to the git commit detail page

# Parameters to configure general site look and feel
[params]
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
gitUrl = "https://github.com/cpitkin/website/commit/"
[[params.social]]
name = "twitter"
url = "https://twitter.com/CharlesPitkin"
@@ -62,7 +62,7 @@ DefaultContentLanguage = "en"
title = "Charlie Pitkin"
homeSubtitle = "Automation - Open Source Software - Gaming - Travel"
keywords = "DevOps,Programming,Automation,Gaming,Open Source Software,Travel"
copyright = ""
copyright = "Copyright 2019 - Charlie Pitkin"
readOtherPosts = "Read other posts"

[languages.en.params.logo]
@@ -2,7 +2,7 @@
date = "2017-08-16"
title = "New Site Hosting"
description = "Migrated the site to Hugo"
images = ["posts/martijn-baudoin-4h0HqC3K4-c-unsplash.jpg"]
cover = "posts/news/martijn-baudoin-4h0HqC3K4-c-unsplash.jpg?nf_resize=fit&w=1200&h=630"
tags = ["news"]
categories = ["news"]
+++
@@ -2,9 +2,9 @@
date = "2018-06-09"
title = "Automated Video Transcoding with OpenFaaS"
description = "Transcoding video using OpenFaaS functions as a long running job"
images = ["posts/quinten-de-graaf-L4gN0aeaPY4-unsplash.jpg"]
cover = "posts/technology/quinten-de-graaf-L4gN0aeaPY4-unsplash.jpg"
tags = ["open source", "openfaas", "nomad", "minio", "automation", "docker"]
categories = ["tutorial"]
categories = ["technology"]
+++

# Purpose
@@ -3,7 +3,7 @@ date = "2017-08-01"
title = "Install Graylog on Freebsd 10.3"
description = "Installing Graylog2 as a central logging server"
tags = ["graylog","open source"]
categories = ["tutorial"]
categories = ["technology"]
+++

I have always needed a central logging server at home. After setting up a couple for my day job I finally decided to setup one for my home servers. This guide is meant to serve as a way install Graylog into FreeBSD. The FreeBSD server is a jail running in FreeNAS 9.10. We are looking to install Graylog 1.3.3 with the web interface. I know Graylog has moved to 2.0 but as of now, the FreeBSD packages are on version 1.3.3. This setup has been working on my server for 15 days so far with an input of 3-6 msgs a second. This guide assumes you already have access to the machine via ssh. [Graylog]: (https://www.graylog.org)
@@ -4,7 +4,7 @@ title = "Redirect Test Cli"
description = "Redirect Test - A Nodejs Cli for testing redirects"
images = ["posts/shahadat-shemul-BfrQnKBulYQ-unsplash.jpg"]
tags = ["nodejs", "npm", "open source"]
categories = ["open source"]
categories = ["technology"]
+++

I work for an agency that runs a lot of client sites. We rarely get to build the first site to ever be served from a new domain. Since most of the work we do is taking the old outdated stuff and giving it new life, we have to make sure to bring along everyone for the new shiny ride. Of all the things that have to be done to get ready to launch, getting redirects in place and testing them is probably one of the most time-consuming. We have a great SEO expert that gives us a nice CSV of all the old and new URIs that need to be put in place. Even putting them into our Puppet system isn't too bad. The real work starts when you have upward of 200 redirects that all need to work on launch day. Now a sane person would not want to test all of them by hand, nor should they. Most of us, myself included, would test maybe 10-20% and leave it at that. I decided that wasn't good enough and since I don't have time to write these things in my day job I wrote something in my spare time.
File renamed without changes.
@@ -4,7 +4,7 @@ title = "Setup OpenFaaS Nomad with Puppet"
description = "Easily get a single node OpenFaaS cluster running on Nomad with Puppet"
images = ["posts/michael-walter-lLgQxglA-pE-unsplash.jpg"]
tags = ["nomad", "openfaas", "open source", "docker"]
categories = ["tutorial"]
categories = ["technology"]
+++

## Services
@@ -31,11 +31,31 @@ HUGO_ENABLEGITINFO = "true"

[[redirects]]
from = "/install-graylog-on-freebsd"
to = "/posts/install-graylog-on-freebsd"
to = "/posts/technology/install-graylog-on-freebsd"
status = 301
force = false
[[redirects]]
from = "/blog"
to = "/posts"
from = "/posts/new-site/"
to = "/posts/news/new-site/"
status = 301
force = false
[[redirects]]
from = "/posts/automated-video-transcoding-with-openfass"
to = "/posts/technology/automated-video-transcoding-with-openfass"
status = 301
force = false
[[redirects]]
from = "/posts/install-graylog-on-freebsd"
to = "/posts/technology/install-graylog-on-freebsd"
status = 301
force = false
[[redirects]]
from = "/posts/redirect-test-release"
to = "/posts/technology/redirect-test-release"
status = 301
force = false
[[redirects]]
from = "/posts/setup-openfaas-nomad"
to = "/posts/technology/setup-openfaas-nomad"
status = 301
force = false

0 comments on commit e2f2c55

Please sign in to comment.
You can’t perform that action at this time.