From 40705033f27d35c9c7810bf9f03ebc8da54efe59 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Tue, 19 Jul 2016 08:39:52 +0200 Subject: [PATCH] various stuff, including small caps --- Rules | 7 +++++-- content/assets/stylesheets/main.scss | 3 +++ content/cammie.erb | 2 +- content/posts/awk.md | 1 - content/posts/xtext.md | 1 - 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Rules b/Rules index 4b86872..6dd7363 100644 --- a/Rules +++ b/Rules @@ -1,13 +1,15 @@ #!/usr/bin/env ruby +# frozen_string_literal: true # ERB compile '/**/*.erb' do filter :erb layout '/default.erb' + filter :relativize_paths, type: :html end # relativize_paths -compile '/**/*.{erb,html}' do +compile '/**/*.html' do filter :relativize_paths, type: :html end @@ -23,6 +25,8 @@ end # Compile all posts compile '/posts/**/*.md' do + @item.attributes[:kind] = 'article' + filter :kramdown layout '/eventpost.erb' @@ -52,5 +56,4 @@ route '/**/*.{erb,html,md}' do "#{item.identifier.without_ext}/index.html" end - layout '/**/*', :erb diff --git a/content/assets/stylesheets/main.scss b/content/assets/stylesheets/main.scss index 40a287b..43eae56 100644 --- a/content/assets/stylesheets/main.scss +++ b/content/assets/stylesheets/main.scss @@ -76,6 +76,9 @@ a, a:hover, a:visited, a:link, a:active { padding: 8px; transition: 0.2s; + font-variant: small-caps; + font-size: 1.25em; + &, &:hover, &:visited, &:link, &:active { text-decoration: none; color: black; diff --git a/content/cammie.erb b/content/cammie.erb index 9f6af77..5b6aa1d 100644 --- a/content/cammie.erb +++ b/content/cammie.erb @@ -13,7 +13,7 @@
-
+
diff --git a/content/posts/awk.md b/content/posts/awk.md index f39a9b4..3a49a7a 100644 --- a/content/posts/awk.md +++ b/content/posts/awk.md @@ -4,7 +4,6 @@ banner: https://zeus.ugent.be/wp-content/uploads/2016/02/awkles-768x1007.jpg created_at: 01-02-2016 time: 23-02-2016 location: Auditorium A1, Campus Sterre, Gebouw S9 -kind: article --- Op **dinsdag 23 februari 18:00** (na de les Scriptingtalen) in **Auditorium A1** organiseren we een **AWK-les** gegeven door **professor Peter Dawyndt**. diff --git a/content/posts/xtext.md b/content/posts/xtext.md index 39e1a14..c45efea 100644 --- a/content/posts/xtext.md +++ b/content/posts/xtext.md @@ -4,7 +4,6 @@ banner: https://zeus.ugent.be/wp-content/uploads/2016/04/450px-Xtext_logo.png created_at: 01-04-2016 time: 26-04-2016 location: Auditorium A2, Campus Sterre, Gebouw S9 -kind: article --- Op **26 april om 18:00 in Auditorium A2, Campus Sterre, Gebouw S9** organiseren we een workshop over [Xtext](https://eclipse.org/Xtext/). **Xtext** is een framework om nieuwe domein-specifieke computertalen (**DSLs**) mee te ontwerpen. Een **DSL** kan een nieuwe programmeertaal zijn, maar is meestal erg specifiek: bijvoorbeeld voor het besturen van robots, voor controle van wasmachines of voor sturing van de on-board computer in auto’s. Mensen die deze machines maken zijn vaak geen programmeurs, en zij kunnen veel vlotter werken met een DSL dan met een algemene programmeertaal.