updates in disqus, navigation and footer

This commit is contained in:
Wouter Groeneveld 2017-06-06 16:29:48 +02:00
parent 6472411580
commit 3a1648e238
12 changed files with 443 additions and 157 deletions

View File

@ -480,21 +480,86 @@
"buffers":
[
{
"file": "themes/beautifulbaking/layouts/partials/footer.html",
"file": "content/about.md",
"settings":
{
"buffer_size": 7267,
"buffer_size": 913,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "/C/Development/github/productivity-course/talk.md",
"file": "content/talks.md",
"settings":
{
"buffer_size": 8438,
"buffer_size": 14,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/layouts/partials/disqus.html",
"settings":
{
"buffer_size": 1013,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/layouts/partials/post.html",
"settings":
{
"buffer_size": 1180,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"contents": "ff",
"file": "content/page/about.md",
"file_size": 2,
"file_write_time": 131412245547019658,
"settings":
{
"buffer_size": 2,
"line_ending": "Windows"
}
},
{
"file": "config.toml",
"settings":
{
"buffer_size": 1500,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "docs/index.html",
"settings":
{
"buffer_size": 21341,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/static/css/main.css",
"settings":
{
"buffer_size": 14350,
"encoding": "UTF-8",
"line_ending": "Windows"
}
},
{
"file": "themes/beautifulbaking/layouts/section/wiki.html",
"settings":
{
"buffer_size": 3048,
"line_ending": "Windows"
}
}
],
"build_system": "",
@ -562,18 +627,33 @@
"expanded_folders":
[
"/C/Development/github/brainbaking",
"/C/Development/github/brainbaking/content",
"/C/Development/github/brainbaking/static",
"/C/Development/github/brainbaking/themes",
"/C/Development/github/brainbaking/themes/beautifulbaking",
"/C/Development/github/brainbaking/themes/beautifulbaking/archetypes",
"/C/Development/github/brainbaking/themes/beautifulbaking/images",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/_default"
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials"
],
"file_history":
[
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/head.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/footer.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/page.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/nav.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/partials/talks.html",
"/C/Development/github/brainbaking/themes/beautifulbaking/static/css/main.css",
"/C/Development/github/brainbaking/docs/css/main.css",
"/C/Development/github/brainbaking/content/post/teaching-yourself-to-draw.md",
"/C/Development/github/brainbaking/content/post/drawing-week-04.md",
"/C/Development/github/brainbaking/content/post/drawing-week-03.md",
"/C/Development/github/brainbaking/content/post/drawing-week-02.md",
"/C/Development/github/brainbaking/content/post/drawing-week-01.md",
"/C/Development/github/productivity-course/talk.md",
"/C/Development/github/brainbaking/themes/beautifulbaking/layouts/index.html",
"/C/Development/github/brainbaking/config.toml",
"/C/Sources/PerformanceInput/ModPerformanceInput.Domain/Occupation/OccupationRepository.cs",
"/C/Development/github/productivity-course/talk.md",
"/C/Sources/WorkB_Trunk/PFW.WorkB_Base/PFW.WorkB.Database.Console/updateintegrationdev.bat",
"/Users/jefklak/development/PratoGame/package.json",
"/Users/jefklak/development/PratoGame/index.html",
@ -685,19 +765,7 @@
"/Users/jefklak/development/hugotest/content/pages/_index.md",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/layouts/partials/page.html",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/theme.toml",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/exampleSite/config.toml",
"/Users/jefklak/development/hugotest/themes/beautifulhugo/archetypes/default.md",
"/Users/jefklak/Desktop/Stiens ei/stijlblad.css",
"/Users/jefklak/Desktop/Stiens ei/bottles.css",
"/Users/jefklak/Desktop/Stiens ei/nastybottles.html",
"/Users/jefklak/Desktop/Stiens ei/bootstraptest.html",
"/Users/jefklak/development/dokuwiki-to-hugo/src/markdown/links.py",
"/Users/jefklak/development/brainbaking/posts/unit-testing-extjs-ui.md",
"/Users/jefklak/Desktop/Stiens ei/Home.html",
"/Users/jefklak/development/hugotest/content/pages/code/csharp/testing.md",
"/Users/jefklak/development/hugotest/content/pages/test2.md",
"/Users/jefklak/development/hugotest/content/pages/code/csharp/resources.md",
"/Users/jefklak/Downloads/pages/code/javascript/inleiding.txt"
"/Users/jefklak/development/hugotest/themes/beautifulhugo/exampleSite/config.toml"
],
"find":
{
@ -708,6 +776,7 @@
"height": 93.0,
"where_history":
[
"",
"/Users/jefklak/development/PratoGame/public",
"",
"subtitle: ",
@ -720,6 +789,8 @@
"case_sensitive": false,
"find_history":
[
".navbar-custom .nav .navlinks-container {",
"\"",
"CreateOccupationQueryOver",
"googleAnalytics",
"console",
@ -845,9 +916,7 @@
"background-co",
"backgroundc-",
"password_",
"mail",
"verzend",
"retour"
"mail"
],
"highlight": true,
"in_selection": false,
@ -855,6 +924,7 @@
"regex": false,
"replace_history":
[
"\"\"",
"wiki/",
"subtitle:",
";",
@ -870,24 +940,108 @@
"groups":
[
{
"selected": 1,
"selected": 3,
"sheets":
[
{
"buffer": 0,
"file": "themes/beautifulbaking/layouts/partials/footer.html",
"file": "content/about.md",
"semi_transient": false,
"settings":
{
"buffer_size": 7267,
"buffer_size": 913,
"regions":
{
},
"selection":
[
[
6909,
6909
913,
913
]
],
"settings":
{
"syntax": "Packages/Markdown/Markdown.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 5,
"type": "text"
},
{
"buffer": 1,
"file": "content/talks.md",
"semi_transient": false,
"settings":
{
"buffer_size": 14,
"regions":
{
},
"selection":
[
[
14,
14
]
],
"settings":
{
"syntax": "Packages/Markdown/Markdown.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 7,
"type": "text"
},
{
"buffer": 2,
"file": "themes/beautifulbaking/layouts/partials/disqus.html",
"semi_transient": false,
"settings":
{
"buffer_size": 1013,
"regions":
{
},
"selection":
[
[
64,
64
]
],
"settings":
{
"syntax": "Packages/HTML/HTML.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 6,
"type": "text"
},
{
"buffer": 3,
"file": "themes/beautifulbaking/layouts/partials/post.html",
"semi_transient": false,
"settings":
{
"buffer_size": 1180,
"regions":
{
},
"selection":
[
[
629,
629
]
],
"settings":
@ -897,27 +1051,27 @@
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 0.0,
"translation.y": 60.0,
"zoom_level": 1.0
},
"stack_index": 1,
"stack_index": 0,
"type": "text"
},
{
"buffer": 1,
"file": "/C/Development/github/productivity-course/talk.md",
"buffer": 4,
"file": "content/page/about.md",
"semi_transient": false,
"settings":
{
"buffer_size": 8438,
"buffer_size": 2,
"regions":
{
},
"selection":
[
[
2800,
2800
2,
2
]
],
"settings":
@ -925,10 +1079,130 @@
"syntax": "Packages/Markdown/Markdown.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 3017.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 0,
"stack_index": 4,
"type": "text"
},
{
"buffer": 5,
"file": "config.toml",
"semi_transient": false,
"settings":
{
"buffer_size": 1500,
"regions":
{
},
"selection":
[
[
1320,
1340
]
],
"settings":
{
"syntax": "Packages/Text/Plain text.tmLanguage",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 3,
"type": "text"
},
{
"buffer": 6,
"file": "docs/index.html",
"semi_transient": false,
"settings":
{
"buffer_size": 21341,
"regions":
{
},
"selection":
[
[
671,
596
]
],
"settings":
{
"syntax": "Packages/HTML/HTML.sublime-syntax",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 180.0,
"zoom_level": 1.0
},
"stack_index": 1,
"type": "text"
},
{
"buffer": 7,
"file": "themes/beautifulbaking/static/css/main.css",
"semi_transient": false,
"settings":
{
"buffer_size": 14350,
"regions":
{
},
"selection":
[
[
12795,
12775
]
],
"settings":
{
"syntax": "Packages/CSS/CSS.sublime-syntax",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 12617.0,
"zoom_level": 1.0
},
"stack_index": 2,
"type": "text"
},
{
"buffer": 8,
"file": "themes/beautifulbaking/layouts/section/wiki.html",
"semi_transient": false,
"settings":
{
"buffer_size": 3048,
"regions":
{
},
"selection":
[
[
1008,
1012
]
],
"settings":
{
"syntax": "Packages/HTML/HTML.sublime-syntax",
"tab_size": 2,
"translate_tabs_to_spaces": true
},
"translation.x": 0.0,
"translation.y": 540.0,
"zoom_level": 1.0
},
"stack_index": 8,
"type": "text"
}
]
@ -986,6 +1260,42 @@
"last_filter": "",
"selected_items":
[
[
"main.css",
"themes\\beautifulbaking\\static\\css\\main.css"
],
[
"foo",
"themes\\beautifulbaking\\layouts\\partials\\footer.html"
],
[
"abou",
"content\\about.md"
],
[
"hea",
"themes\\beautifulbaking\\layouts\\partials\\head.html"
],
[
"ind",
"docs\\index.html"
],
[
"wiki",
"themes\\beautifulbaking\\layouts\\section\\wiki.html"
],
[
"nav.h",
"themes\\beautifulbaking\\layouts\\partials\\nav.html"
],
[
"head",
"themes\\beautifulbaking\\layouts\\partials\\head.html"
],
[
"confi",
"config.toml"
],
[
"foot",
"themes\\beautifulbaking\\layouts\\partials\\footer.html"
@ -994,10 +1304,6 @@
"index.js",
"index.js"
],
[
"main.css",
"themes/beautifulbaking/static/css/main.css"
],
[
"main",
"docs/css/main.css"
@ -1030,10 +1336,6 @@
"doos.conf",
"domain/doos.conf.php"
],
[
"head",
"templates/head.html"
],
[
"index",
"index.php"
@ -1078,10 +1380,6 @@
"kapo",
"kapot.htaccess"
],
[
"ind",
"index.php"
],
[
"bestel.",
"bestel.php"
@ -1382,10 +1680,6 @@
"doo",
"js/doos.js"
],
[
"hea",
"templates/head.html"
],
[
"recep",
"recept.php"
@ -1470,10 +1764,6 @@
"bestelling",
"domain/bestelling.php"
],
[
"foo",
"templates/footer.html"
],
[
"doos.js",
"js/doos.js"
@ -1481,22 +1771,6 @@
[
".ht",
".htaccess"
],
[
"bedank",
"bedankt.php"
],
[
"jamm",
"jammer.php"
],
[
"bedankt",
"bedankt.php"
],
[
"maile",
"domain/mailer.php"
]
],
"width": 0.0

View File

@ -36,36 +36,35 @@ tag = "tags"
goodreads = "5451893-wouter"
[[menu.main]]
name = "Blog"
name = "Menu"
url = "/"
weight = 1
pre = "<i class='fa fa-home'></i>"
[[menu.main]]
name = "Wiki"
parent = "Menu"
url = "/wiki/"
weight = 2
pre = "<i class='fa fa-wikipedia-w'></i>"
weight = 1
[[menu.main]]
name = "Tags"
parent = "Menu"
url = "/tags"
weight = 3
pre = "<i class='fa fa-tags'></i>"
weight = 2
[[menu.main]]
name = "About me"
parent = "Menu"
url = "/about"
pre = "<i class='fa fa-address-card-o'></i>"
weight = 3
[[menu.main]]
name = "Talks"
pre = "<i class='fa fa-graduation-cap'></i>"
parent = "Menu"
url = "/talks"
weight = 4
#[[menu.main]]
# identifier = "samples"
# name = "Samples"
# weight = 3
#[[menu.main]]
# parent = "samples"
# name = "Code Sample"
# url = "/post/2016-03-08-code-sample"
#[[menu.main]]
# parent = "samples"
# name = "Test Markdown"
# url = "/post/2015-02-20-test-markdown"

15
content/books.md Normal file
View File

@ -0,0 +1,15 @@
# Books
I keep an active <a href="https://www.goodreads.com/user/show/5451893-wouter" target="_blank">Goodreads</a> account where I manage everything I've read and want to read. I invite you to join the community there. Marking a book as read and writing a (short) review never was that satisfying...
I used to be almost exclusively a fantasy reader. Now I mostly read non-fiction on the most diverse topics, but I do have a soft spot for things like philosophy, art, mindful food and software engineering.
These are the latest 52 books I've read:
<div id="gr_grid_widget_1496758344">
</div>
</div>
<script src="https://www.goodreads.com/review/grid_widget/5451893.Wouter's%20bookshelf:%20read?cover_size=medium&hide_link=&hide_title=&num_books=52&order=d&shelf=read&sort=date_added&widget_id=1496758344" type="text/javascript" charset="utf-8"></script>

View File

@ -1,13 +0,0 @@
---
bigimg: /img/About Me.jpg
---
# About Me
Hi! Im Wouter Groeneveld, a software developer with a deep passion to inspire others on everything that drives me. That includes lots of goodness, but here are the key facts:
* Test your stuff before writing your code! Im a heavy Test Driven Development (TDD) fanboy and I bark at those who dont! I teach agile software engineering on multiple occasions, ranging from colleagues to schools.
* I love dynamic languages. I also love converting the haters to the dark side. I teach javascript as a dynamic and functional language - it helps to create your own funky labs to people get more engaged.
* Pair programming used as a tool to learn from each other and to improve code quality are two values I believe in.
* Dont limit yourself to your specialty. I like constantly improving my own (and others) skills by trying out something new, reading, and writing.

3
content/talks.md Normal file
View File

@ -0,0 +1,3 @@
# Talks
TODO

View File

@ -1,5 +1,22 @@
{{ if .Site.DisqusShortname }}
<div class="comments">
{{ template "_internal/disqus.html" . }}
<div class="disqus-comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
// Don't ever inject Disqus on localhost--it creates unwanted
// discussions from 'localhost:1313' on your Disqus account...
if (window.location.hostname == "localhost")
return;
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = '{{ .Site.DisqusShortname }}';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
{{ end }}

View File

@ -145,7 +145,7 @@
</ul>
<p class="credits copyright text-muted">
{{ .Site.Author.name }}
<a href="{{ .Site.BaseURL }}about">{{ .Site.Author.name }}</a>
&nbsp;&bull;&nbsp;
No copyright - <a href="https://github.com/wgroeneveld/brainbaking" target="_blank">Hack away!</a>

View File

@ -11,7 +11,7 @@
<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bootstrap.min.css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/main.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />

View File

@ -23,7 +23,7 @@
<a class="navlinks-parent" href="javascript:void(0)">{{ .Name }}</a>
<div class="navlinks-children">
{{ range .Children }}
<a href="{{ .URL }}">{{ .Name }}</a>
<a href="{{ .URL }}">{{ .Pre }}&nbsp;&nbsp;{{ .Name }}</a>
{{ end }}
</div>
</li>

View File

@ -2,11 +2,6 @@
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
{{ .Content }}
{{ if .Site.DisqusShortname }}
<div class="disqus-comments">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
</div>
</div>

View File

@ -7,24 +7,22 @@
{{ .Content }}
</article>
<ul class="pager blog-pager">
<ul class="blog-pagination blog-pager">
{{ if .PrevInSection }}
<li class="previous">
<a href="{{ .PrevInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">&larr; Previous Post</a>
<li>
&larr; Previous Post: <a href="{{ .PrevInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .PrevInSection.Title }}">{{ .PrevInSection.Title }}</a>
<span class="blog-pagination-date"> <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ .PrevInSection.Date.Format "01/02/20016" }}</span>
</li>
{{ end }}
{{ if .NextInSection }}
<li class="next">
<a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">Next Post &rarr;</a>
<li>
&rarr; Next Post: <a href="{{ .NextInSection.Permalink }}" data-toggle="tooltip" data-placement="top" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}</a>
<span class="blog-pagination-date"> <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ .NextInSection.Date.Format "01/02/20016" }}</span>
</li>
{{ end }}
</ul>
{{ if .Site.DisqusShortname }}
<div class="disqus-comments">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
{{ partial "disqus.html" }}
</div>
</div>

View File

@ -277,11 +277,11 @@ img {
.navbar-custom .nav .navlinks-container .navlinks-children a {
display: block;
padding: 10px;
font-weight: bold;
padding-left: 30px;
background: #e6fac2;
text-decoration: none !important;
border-width: 0 1px 1px 1px;
font-weight: normal;
}
@media only screen and (max-width: 767px) {
.navbar-custom .nav .navlinks-container.show-children {
@ -294,6 +294,7 @@ img {
@media only screen and (min-width: 768px) {
.navbar-custom .nav .navlinks-container {
text-align: center;
min-width: 150px !important;
}
.navbar-custom .nav .navlinks-container:hover {
background: #c3f070;
@ -305,7 +306,8 @@ img {
position: absolute;
}
.navbar-custom .nav .navlinks-container .navlinks-children a {
padding-left: 10px;
padding-left: 20px;
text-align: left;
border: 1px solid #c3f070;
border-width: 0 1px 1px;
}
@ -643,42 +645,22 @@ footer .theme-by {
/* --- Pager --- */
.pager li a {
.blog-pagination li {
list-style: none;
}
.blog-pagination .blog-pagination-date {
font-size: 10px;
color: grey;
}
.blog-pagination {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
padding: 10px 5px;
background: #f7fdec;
border-radius: 0;
color: #404040;
}
@media only screen and (min-width: 768px) {
.pager li a {
padding: 15px 25px;
}
}
.pager li a:hover,
.pager li a:focus {
color: #FFF;
background-color: #f7fdec;
border: 1px solid #ae8b0f;
font-weight: bold;
}
.pager {
margin: 10px 0 0;
}
.pager.blog-pager {
margin-top: 0;
}
@media only screen and (min-width: 768px) {
.pager.blog-pager {
margin-top: 10px;
}
}
/* --- Tables --- */
@ -756,4 +738,20 @@ td.gutter {
#social-share-section {
margin-bottom: 30px;
}
}
/* --- goodreads widget styles --- */
.gr_grid_container {
}
.gr_grid_book_container {
/* customize book cover container div here */
float: left;
width: 98px;
height: 160px;
padding: 0px 0px;
border: 1px solid black;
margin: 5px;
overflow: hidden;
}