commit
ba5f6d15c6
13 changed files with 70 additions and 18 deletions
2
Rules
2
Rules
|
@ -14,6 +14,8 @@ require 'socket'
|
||||||
#
|
#
|
||||||
|
|
||||||
preprocess do
|
preprocess do
|
||||||
|
`npm install`
|
||||||
|
|
||||||
@items.find_all('/posts/**/*').each do |i|
|
@items.find_all('/posts/**/*').each do |i|
|
||||||
year_str = %r{/(\d\d)-\d\d/}.match(i.identifier).captures[0]
|
year_str = %r{/(\d\d)-\d\d/}.match(i.identifier).captures[0]
|
||||||
academic_year = year_str.to_i
|
academic_year = year_str.to_i
|
||||||
|
|
|
@ -8,9 +8,19 @@
|
||||||
margin-bottom:10px;
|
margin-bottom:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bolder a{
|
.bolder {
|
||||||
|
> * {
|
||||||
color:#565C5E;
|
color:#565C5E;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 20pt;
|
font-size: 20pt;
|
||||||
font-family: 'Avenir';
|
font-family: 'Avenir';
|
||||||
|
|
||||||
|
border-left: 3px solid $zeus-orange;
|
||||||
|
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,3 +19,7 @@
|
||||||
height: 256px;
|
height: 256px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.event-attributes {
|
||||||
|
font-size: 1.3em;
|
||||||
|
}
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
.description {
|
.description {
|
||||||
font-size: 1.7em;
|
font-size: 1.7em;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
color: #FF7F00;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
|
|
|
@ -72,6 +72,39 @@ footer.footer {
|
||||||
background-color: #1E64C8;
|
background-color: #1E64C8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lana-tile {
|
||||||
|
background-color: $tile-orange;
|
||||||
|
}
|
||||||
|
|
||||||
.project-tile {
|
.project-tile {
|
||||||
background-color: $turquoise;
|
background-color: $turquoise;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tipue_search_input {
|
||||||
|
background: none;
|
||||||
|
padding: 12px;
|
||||||
|
font: inherit;
|
||||||
|
color: inherit;
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
input {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
box-shadow: none;
|
||||||
|
outline: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
font: normal normal normal 14px/1 FontAwesome;
|
||||||
|
content: "\f002 ";
|
||||||
|
color: inherit;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ a.box {
|
||||||
.centering {
|
.centering {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
.highlighted{
|
.highlighted{
|
||||||
background: $tile-orange;
|
background: $tile-orange;
|
||||||
|
|
|
@ -4,7 +4,7 @@ banner: https://emergingtechblog.emc.com/wp-content/uploads/2015/10/AdobeStock_8
|
||||||
description: Zeus bezoekt het datacenter en de supercomputer in S10!
|
description: Zeus bezoekt het datacenter en de supercomputer in S10!
|
||||||
created_at: 3-10-2016
|
created_at: 3-10-2016
|
||||||
time: 10-10-2016
|
time: 10-10-2016
|
||||||
location: hpc gent
|
location: Datacenter UGent, S10, Sterre
|
||||||
locationlink: 51.023650, 3.712018
|
locationlink: 51.023650, 3.712018
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,9 @@
|
||||||
<%= render '/partials/_tile.*', article: all_events[1], small_text: "Upcoming event" %>
|
<%= render '/partials/_tile.*', article: all_events[1], small_text: "Upcoming event" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="tile is-parent is-4">
|
<div class="tile is-parent is-4">
|
||||||
<div class="tile is-child box ">
|
<div class="tile is-child box centering">
|
||||||
<div class="content has-text-centered">
|
<div class="content has-text-centered">
|
||||||
<div id="quote" >
|
<div id="quote" >
|
||||||
<!--<img src="//thecatapi.com/api/images/get?format=src&type=gif&size=small"> -->
|
|
||||||
<!-- INTENTIONALLY LEFT BLANK -->
|
<!-- INTENTIONALLY LEFT BLANK -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,13 +18,13 @@ title: Search
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#tipue_search_input').tipuesearch({
|
$('#tipue_search_input_field').tipuesearch({
|
||||||
'mode': 'json',
|
'mode': 'json',
|
||||||
'showTitleCount': false,
|
'showTitleCount': false,
|
||||||
'tipue_search_content': '#blog_results',
|
'tipue_search_content': '#blog_results',
|
||||||
'contentLocation': '../blog_search.json'
|
'contentLocation': '../blog_search.json'
|
||||||
});
|
});
|
||||||
$('#tipue_search_input').tipuesearch({
|
$('#tipue_search_input_field').tipuesearch({
|
||||||
'mode': 'json',
|
'mode': 'json',
|
||||||
'showTitleCount': false,
|
'showTitleCount': false,
|
||||||
'tipue_search_content': '#event_results',
|
'tipue_search_content': '#event_results',
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<article class="media">
|
<article class="media">
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2><%= post[:title] %></h2>
|
<h2><%= post[:title] %> <small> <%= post[:created_at] %></small></h2>
|
||||||
<%= excerptize(post.reps[:text].compiled_content, length: 200) %>
|
<%= post[:description] %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<ul class = "archive_list">
|
<ul class = "archive_list">
|
||||||
<% academic_years_items.each do |year, item| %>
|
<% academic_years_items.each do |year, item| %>
|
||||||
<li class="bolder">
|
<li class="bolder">
|
||||||
<%= link_to pretty_year(year), item %>
|
<%= link_to_unless_current pretty_year(year), item %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
|
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
|
||||||
|
|
||||||
|
|
||||||
<%= asset :css, :main %>
|
|
||||||
|
|
||||||
<link rel="icon" href="/assets/images/favicon32.png" type="image/x-icon" />
|
<link rel="icon" href="/assets/images/favicon32.png" type="image/x-icon" />
|
||||||
|
|
||||||
|
@ -35,6 +34,8 @@
|
||||||
<!-- Place this tag in your head or just before your close body tag. -->
|
<!-- Place this tag in your head or just before your close body tag. -->
|
||||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||||
|
|
||||||
|
<%= asset :css, :main %>
|
||||||
|
|
||||||
<%= content_for(@item, :head) %>
|
<%= content_for(@item, :head) %>
|
||||||
</head>
|
</head>
|
||||||
<body class="site">
|
<body class="site">
|
||||||
|
|
|
@ -16,13 +16,14 @@
|
||||||
<p class="title is-1">
|
<p class="title is-1">
|
||||||
<b>
|
<b>
|
||||||
<%= item[:title] %>
|
<%= item[:title] %>
|
||||||
|
<%= fa :search %>
|
||||||
</b>
|
</b>
|
||||||
</p>
|
</p>
|
||||||
<p class="subtitle is-3">
|
<p class="subtitle is-3">
|
||||||
<%= item[:description] %>
|
<%= item[:description] %>
|
||||||
</p>
|
</p>
|
||||||
<p class="subtitle is-3">
|
<p class="subtitle is-3">
|
||||||
<ul class="fa-ul">
|
<ul class="fa-ul event-attributes">
|
||||||
<li><%= fa 'clock-o', li: true %><%= item[:time].strftime '%A %d %B %Y' %></li>
|
<li><%= fa 'clock-o', li: true %><%= item[:time].strftime '%A %d %B %Y' %></li>
|
||||||
<li><%= fa 'map-marker', li: true %><%= item[:location] %></li>
|
<li><%= fa 'map-marker', li: true %><%= item[:location] %></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -18,7 +18,9 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<form action="/search/?" method="get">
|
<form action="/search/?" method="get">
|
||||||
<input type="text" name="q" id="tipue_search_input" autocomplete="off">
|
<div id="tipue_search_input">
|
||||||
|
<input type="text" name="q" id="tipue_search_input_field" autocomplete="off">
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue