type: "posts"
values:
rss: true
+ post: true
vars: "blog-page.html"
# Build settings
--- /dev/null
+<div class="side">{{ include.item.date | date: "%b %-d, %Y" }}{% if include.item.author %} • {{ include.item.author }}{% endif %}{% if include.item.meta %} • {{ include.item.meta }}{% endif %} • <a href="{{ include.item.url }}">Permalink</a></div>
{% comment %} Unfortunately, the variables we set above are not preserved for sub-layouts. So, we have to have all the layout here. {% endcomment %}
{% if pretitle %}
<header class="pretitle">
- {% if page.date %}
- <div class="side"><a href="{{ site.baseurl }}{{ page.url }}">Permalink</a> • {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</div>
+ {% if page.post %}
+ {% include post-header.html item=page %}
{% endif %}
<h1>{{ pretitle }}</h1>
</header>
</header>
{{ content }}
+
+ {% if page.post %}<p class="comment">Comments? <a href="mailto:post-AT-ralfj-DOT-de">Drop me a mail</a>!</p>{% endif %}
</article>
</div></body>
{% assign num_posts = num_posts | minus: 1 %}
{% if num_posts >= 0 %}
<header class="subtitle">
- <div class="side"><a href="{{ post.url }}">Permalink</a> • {{ post.date | date: "%b %-d, %Y" }}{% if post.author %} • {{ post.author }}{% endif %}{% if post.meta %} • {{ post.meta }}{% endif %}</div>
+ {% include post-header.html item=post %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
{{ post.content }}
$text-color: #313131;
$light-text-color: #808080;
$code-background-color: #F7F7F7;
-$link-color: #268BD2;
+$link-color: #237fbf;
+$light-link-color: #69a7d2;
/* General Fonts */
html, body, div, p {
/* Layout and Color stuff */
-/* General page structure */
+g/* General page structure */
html {
overflow-y: scroll;
}
#-content {
.side {
float: right;
+ }
+
+ .side, .comment {
color: $light-text-color;
+
+ a {
+ color: $light-link-color;
+ }
}
+
.pretitle, .subtitle {
h1 {
display: inline-block;
margin: 0.5em 0;
line-height: 1.3;
}
+
+ .comment {
+ margin-top: 1.5em;
+ }
}
jekyll build
cd _site
-rsync ./ ralfj.de:srv/www.ralfj.de/docroot/ -aP \
- --exclude=cs/research.html
-scp cs/research.html mpi-contact:public_html/index.html
+rsync ./ ralfj.de:srv/www.ralfj.de/docroot/ -aP