Initial blog content

This commit is contained in:
Rob Watson 2017-12-29 13:27:50 +00:00
parent 772291ac5c
commit 732af0bee2
6 changed files with 98 additions and 17 deletions

View File

@ -13,16 +13,14 @@
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible # You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}. # in the templates via {{ site.myvariable }}.
title: Your awesome title title: netflux.io
email: your-email@example.com email: hello@netflux.io
description: >- # this means to ignore newlines until "baseurl:" description: >-
Write an awesome description for your new site here. You can edit this Notes, thoughts and discoveries from the techsphere
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com url: "https://netflux.io" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb github_username: rfwatson
github_username: jekyll permalink: /blog/:year/:month/:day/:title/
# Build settings # Build settings
markdown: kramdown markdown: kramdown

35
_layouts/home.html Normal file
View File

@ -0,0 +1,35 @@
---
layout: default
---
<div class="home">
{% if page.title %}
<h1 class="page-heading">{{ page.title }}</h1>
{% endif %}
{{ content }}
{% if site.posts.size > 0 %}
<h2 class="post-list-heading">{{ page.list_title | default: "Recent posts" }}</h2>
<ul class="post-list">
{% for post in site.posts %}
<li>
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
<span class="post-meta">{{ post.date | date: date_format }}</span>
<h3>
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
</h3>
<div class="post-content e-content" itemprop="articleBody">
{{ post.content }}
</div>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
{% endif %}
</div>

View File

@ -4,15 +4,12 @@ title: About
permalink: /about/ permalink: /about/
--- ---
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) <img src="../assets/images/me.png" alt="Rob Watson" class="profile"/>
You can find the source code for Minima at GitHub: Hi, I'm Rob Watson and this is my personal tech blog.
[jekyll][jekyll-organization] /
[minima](https://github.com/jekyll/minima)
You can find the source code for Jekyll at GitHub: I co-founded live audio broadcasting company [Mixlr](http://mixlr.com), and have served as its CTO since 2011.
[jekyll][jekyll-organization] /
[jekyll](https://github.com/jekyll/jekyll)
I also have a degree in [Music Informatics](https://en.wikipedia.org/wiki/Music_informatics) and have a long-standing interest in musical composition and performance using computers.
[jekyll-organization]: https://github.com/jekyll You can browse my [GitHub](https://github.com/rfwatson) or download my [professional resume](https://s3.eu-central-1.amazonaws.com/rfwatson-public/cv.pdf). You can also find my personal blog [here](https://www.rfwatson.net).

BIN
assets/images/me.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

45
assets/main.scss Normal file
View File

@ -0,0 +1,45 @@
---
---
@import 'minima';
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700|Open+Sans|Ubuntu+Mono');
html, body, div, p {
font-family: 'Open Sans'
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Slab'
}
pre, code {
font-family: 'Ubuntu Mono';
background-color: #efefef;
}
a, a:active, a:visited {
color: #2d753a;
}
body > header {
background-color: #000;
.site-title, .site-title:visited {
font-family: 'Roboto Slab';
color: #fff;
}
.site-nav {
.page-link, .page-link:visited {
color: #fff;
@include media-query($on-palm) {
color: #000;
}
}
}
}
img.profile {
width: 400px;
}

6
bin/deploy.sh Executable file
View File

@ -0,0 +1,6 @@
SITE=netflux.io
DISTRIBUTION=EH0M9KWOAPOFH
jekyll build
aws s3 cp _site s3://$SITE/ --recursive --acl public-read --exclude "bin/*"
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION --paths "/*"