Skip to content

Commit

Permalink
Added first new blog post, styled posts, arranged urls
Browse files Browse the repository at this point in the history
  • Loading branch information
carsongee committed Aug 3, 2016
1 parent e73d917 commit 0a1c1bb
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 11 deletions.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ exclude:
- "bower_components/"
sass:
style: compressed
collections:
posts:
output: true
permalink: /log/:categories/:title/
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<header>
<header class="site">
<div class="p0 m0">
<div class="grd-row">
<div class="grd-row-col-6-6 left-header">
<h1>
carson@container:{{ page.url }} - {{ page.description }} (bash)
carson@container:{{ page.url }} - {{ page.short_description | default: page.description }} (bash)
</h1>
</div>
</div>
Expand Down
12 changes: 10 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">

<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
<h1 class="post-title" itemprop="name headline">
{{ page.title }}
</h1>
<p class="post-meta">
<time datetime="{{ page.date | date_to_xmlschema }}"
itemprop="datePublished"
class="expdate"
>
{{ page.date | date: "%b %-d, %Y" }}
</time>
</header>

<div class="post-content" itemprop="articleBody">
Expand Down
9 changes: 7 additions & 2 deletions _posts/2015-11-30-zenoss-hipchat.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
layout: post
title: "Zenoss HipChat!"
date: 2015-11-30 23:15:37 -0400
categories: software release project
description: I recently created a command line script for sending Zenoss alerts to HipChat.
short_description: 'zenoss-hipchat'
description: |
I recently created a command line script for sending Zenoss alerts
to HipChat for knowing when things are going wrong in my
infrastructure. I've now made it available as an open source
installable.
img: /img/posts/zenoss_hipchat.jpg
---

Expand Down
27 changes: 24 additions & 3 deletions _posts/2016-07-31-new-me-new-site.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
---
layout: post
title: "New Site - New Me"
date: 2015-11-30 23:15:37 -0400
categories: software release project
description: Ok, probaby not really a whole new me, but after 6 years, it is time for a little rebranding. Enter `Carson Gee - ClippedCompound`, and welcome to the retro-future.
short_description: New site - new me
description: |
Ok, probaby not really a whole new me, but after 6 years, it is time
for a little rebranding. Enter `Carson Gee - ClippedCompound`, and
welcome to the retro-future.
img: /img/posts/newsite_newme.jpg
---

I think the last time I redesigned this site was around 2010. That is
pretty much a lifetime ago at this point. I live in a new city, and
I've had three different jobs since then. I've also picked about about
half a dozen new hobbies, and yet the old spinning circle nav stayed
through all that (and don't forget about emojis).

It was pretty cool, still is, but sometimes you just have to change
for the sake of change. So welcome to the new terminal version of the
site. I've basically removed all of blog entries because life is
short, and I don't need to be reminded of that thing I did, with that
technology that used to matter.

So here we are: a little leaner, a little less user friendly (I'll
keep working on that), and a lot more retro.

Enjoy the high minded concept with the questionable execution due to
time constraints.

🏎☀️out!
8 changes: 8 additions & 0 deletions _sass/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ section div .sys h4 {
color: $five;
}

/* post styles */
article.post time.expdate {
margin: -2.6rem 0 0 0;
}
article h1 img {
align: center;
}

section div .des {
img {
width: 48%;
Expand Down
4 changes: 2 additions & 2 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// Header style
header {
header.site{
background-color: $fifteen;
padding-left: 1rem;
border-bottom: 1px solid black;
position: fixed;
width: 100%;
}
header h1 {
header.site h1 {
color: $eight;
font-size: .8rem;
margin: 0;
Expand Down
Binary file modified img/posts/newsite_newme.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/posts/zenoss_hipchat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a1c1bb

Please sign in to comment.