Permalink
Browse files

🔨 First iteration

  • Loading branch information...
frenck committed Mar 31, 2018
1 parent fa3cfa6 commit 496d6b4a2649c609c99e3579d9c3faa24b159d33
Showing with 591 additions and 430 deletions.
  1. +0 −68 config.toml
  2. +100 −0 config.yaml
  3. +3 −0 content/_index.md
  4. +5 −0 content/categories/iot/_index.md
  5. +9 −4 content/{post → iot/home-asssistant}/nothing-yet.md
  6. +6 −10 layouts/404.html
  7. +10 −17 layouts/_default/baseof.html
  8. +12 −13 layouts/_default/list.html
  9. +3 −3 layouts/_default/single.html
  10. +5 −8 layouts/_default/summary.html
  11. +5 −4 layouts/_default/terms.html
  12. +3 −3 layouts/index.html
  13. +19 −11 layouts/partials/article_footer.html
  14. +27 −33 layouts/partials/article_header.html
  15. +19 −25 layouts/partials/article_list.html
  16. +8 −4 layouts/partials/footer.html
  17. +0 −4 layouts/partials/footer_js.html
  18. +14 −30 layouts/partials/head.html
  19. +33 −29 layouts/partials/header.html
  20. +7 −0 layouts/partials/meta/google.html
  21. +67 −0 layouts/partials/meta/opengraph.html
  22. +11 −0 layouts/partials/meta/other.html
  23. +5 −0 layouts/partials/meta/seo.html
  24. +3 −0 layouts/partials/meta/structured.html
  25. +8 −0 layouts/partials/meta/structured/blog.html
  26. +24 −0 layouts/partials/meta/structured/breadcrumb.html
  27. +29 −0 layouts/partials/meta/structured/person.html
  28. +20 −0 layouts/partials/meta/twitter_card.html
  29. +8 −8 layouts/partials/pagination.html
  30. +11 −17 layouts/partials/prev_next_post.html
  31. +23 −31 layouts/partials/profile.html
  32. +4 −5 layouts/partials/sidebar.html
  33. +12 −11 layouts/partials/single_article.html
  34. +9 −9 layouts/partials/widgets/categories.html
  35. +15 −17 layouts/partials/widgets/recent_articles.html
  36. +13 −15 layouts/partials/widgets/related.html
  37. +9 −11 layouts/partials/widgets/tag_cloud.html
  38. +9 −9 layouts/partials/widgets/tags.html
  39. +2 −2 layouts/shortcodes/gallery.html
  40. +11 −0 static/_headers
  41. +0 −29 static/css/style.css
  42. +10 −0 static/humans.txt
  43. BIN static/images/avatar-40x40.jpg
  44. BIN static/images/franck-nijhof.jpg

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,100 @@
---
baseurl: https://www.frenck.nl/
title: "Frenck.nl"
footnotereturnlinkcontents: ""
enableRobotsTXT: true
canonifyURLs: true
enableEmoji: true
enableGitInfo: true
languageCode: en
metaDataFormat: yaml
summaryLength: 70
description: Test vauit de Config
keywords:
- test
- henk
blackfriday:
hrefTargetBlank = true
permalinks:
post: "/:sections/:slug"
taxonomies:
tag: tags
category: categories
series: series
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: keywords
weight: 100
- name: author
weight: 0
- name: tags
weight: 150
- name: date
weight: 25
pattern: 2006
sitemap:
changefreq: monthly
priority: 0.5
filename: sitemap.xml
social:
github: frenck
twitter: frenck
linkedin: frenck
reddit: frenck_nl
facebook: frenck.nl
discourse: frenck
keybase: frenck
googleplus: FranckNijhof
instagram: frenck
menu:
main:
- before: true
label: Home
link: "/"
- name: About me
pre: "<i class='fa fa-heart'></i>"
weight: -110
identifier: about
url: "/about/franck-nijhof"
params:
defaultTitle: The Internet of Things
defaultDescription: "Homepage of Franck Nijhof, #HomeAssistant enthusiast, Hass.io add-on creator, #IoT explorer, #DevOps preacher, #GPG evangelist, and slightly assholic at first sight"
defaultKeywords:
- IoT
- Internet of Things
- Home Assistant
- Home Automation
- DIY
- Hassio
- hassio-addons
- Tutorial
defaultImage: /images/avatar-400x400.jpg
twitterDomain: Frenck.nl
author: Franck Nijhof
avatar: /images/franck-nijhof.jpg
familyName: Nijhof
givenName: Franck
nickName: Frenck
gender: Male
height: 182 cm
birthDate: 1982-05-31
jobTitle: Software Engineer
nationality: Dutch
email: hello@frenck.nl
city: Enschede
country: The Netherlands
bio: "#HomeAssistant enthusiast, Hass.io add-on creator, #IoT explorer, #DevOps preacher, #GPG evangelist, slightly assholic at first sight"
gpgkey: AB33ADACE7101952
ghrepo: "https://github.com/frenck/frenck.nl"
themeColor: "#067bc2"
@@ -0,0 +1,3 @@
---
seoTitle: Frenck's Blog
---
@@ -0,0 +1,5 @@
---
title: IoT - The Internet of Things
type: taxonomity
description: My articles on the Internet of Things, it forms the backbone of Home Automation. Let me guide you on useful application of IoT devices in your home.
---
@@ -1,13 +1,18 @@
---
date: "2018-03-26T12:00:00+01:00"
description: "Henk"
description: "Nothing yet..."
title: "Nothing yet..."
ghcommentid: 1
type: post
categories:
- Home Asssitant
- IoT
tags:
- tag1
- tag2
---
Nothing to see here yet...
Please hold the line, your call :telephone_receiver: is very important to us. :confused:
<!--more-->
@@ -1,18 +1,14 @@
{{ define "main" }}
<article class="article article-type-post" itemscope="" itemprop="blogPost">
{{- define "main" -}}
<article class="article article-type-post">
<div class="article-inner">
<div class="article-entry" itemprop="articleBody">
<div class="article-entry">
<p>
<center>
<h1>
404 - page not found
</h1>
<h3>
The content you're looking for doesn't seem to exist.
</h3>
<h1>404 - page not found</h1>
<h3>The content you're looking for doesn't seem to exist.</h3>
</center>
</p>
</div>
</div>
</article>
{{ end }}
{{- end -}}
@@ -1,23 +1,16 @@
{{ partial "head" . }}
<div id="container">
{{ partialCached "header" . }}
<div class="outer">
{{ if not .Params.disable_profile }}
{{ partialCached "profile" . }}
{{ end }}
<section id="main">
{{ block "main" . }}{{ end }}
</section>
{{ if not .Params.disable_widgets }}
{{ partial "sidebar" . }}
{{ end }}
{{- partialCached "header" . -}}
<div class="outer">
{{- if not .Params.disable_profile -}}
{{- partialCached "profile" . -}}
{{- end -}}
<section id="main">{{- block "main" . -}}{{- end -}}</section>
{{- if not .Params.disable_widgets -}}
{{- partial "sidebar" . -}}
{{- end -}}
</div>
</div>
{{ partialCached "footer" . }}
{{- partialCached "footer" . -}}
</body>
</html>
@@ -1,20 +1,19 @@
{{ define "main" }}
{{ $context := . }}
{{ with .Content }}
{{ partial "single_article.html" $context }}
{{ else }}
{{- define "main" -}}
{{- $context := . -}}
{{- with .Content -}}
{{- partial "single_article.html" $context -}}
{{- else -}}
<section class="archives-wrap">
<div class="archive-category-wrap">
<span class="archive-category">{{ .Title }}</span>
</div>
<div class="archives">
{{ $paginator := .Paginate .Data.Pages }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{- $paginator := .Paginate .Data.Pages -}}
{{- range $paginator.Pages -}}
{{- .Render "summary" -}}
{{- end -}}
</div>
</section>
{{ partial "pagination" . }}
{{ end }}
{{ end }}
{{- partial "pagination" . -}}
{{- end -}}
{{- end -}}
@@ -1,3 +1,3 @@
{{ define "main" }}
{{ partial "single_article" . }}
{{ end }}
{{- define "main" -}}
{{- partial "single_article" . -}}
{{- end -}}
@@ -1,23 +1,20 @@
<article class="archive-article archive-type-post">
<div class="archive-article-inner">
<div class="archive-article-thumbnail">
{{ if isset .Params "banner" }}
{{- if isset .Params "banner" -}}
<a href="{{ .Permalink }}" class="thumbnail">
<span style="background-image:url({{ .Params.banner | relURL }})" alt="{{ .Title }}" class="thumbnail-image"></span>
</a>
{{ else }}
{{- else -}}
<a href="{{ .Permalink }}" class="thumbnail">
<span class="thumbnail-image thumbnail-none"></span>
</a>
{{ end }}
{{- end -}}
</div>
<header class="archive-article-header">
<h1 itemprop="name">
<a class="archive-article-title" href="{{ .Permalink }}">{{ .Title }}</a>
</h1>
<h1><a class="archive-article-title" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<div class="archive-article-date">
<i class="fa fa-calendar"></i>
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
<i class="fa fa-calendar"></i><time datetime="{{ .Date }}">{{ .Date.Format "2006-01-02" }}</time>
</div>
</header>
</div>
@@ -1,17 +1,18 @@
{{ define "main" }}
{{- define "main" -}}
<section class="layout-wrap">
<div class="layout-title">
<span>{{ .Title }}</span>
</div>
<div class="layout-wrap-inner list-categories">
<ul class="category-list">
{{ $data := .Data }} {{ range $key, $value := .Data.Terms.ByCount }}
{{- $data := .Data -}}
{{- range $key, $value := .Data.Terms.ByCount -}}
<li class="category-list-item">
<a class="category-list-link" href="{{ $value.Name | urlize }}">{{ $value.Name }}</a>
<span class="category-list-count">{{ $value.Count }}</span>
</li>
{{ end }}
{{- end -}}
</ul>
</div>
</section>
{{ end }}
{{- end -}}
@@ -1,3 +1,3 @@
{{ define "main" }}
{{ partial "article_list" . }}
{{ end }}
{{- define "main" -}}
{{- partial "article_list" . -}}
{{- end -}}
Oops, something went wrong.

0 comments on commit 496d6b4

Please sign in to comment.