projects
/
web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
05c2743
)
only show a post excerpt in the blog index
author
Ralf Jung
<post@ralfj.de>
Sun, 11 Oct 2015 21:14:52 +0000
(23:14 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sun, 11 Oct 2015 21:14:52 +0000
(23:14 +0200)
personal/_config.yml
patch
|
blob
|
history
personal/_layouts/default.html
patch
|
blob
|
history
personal/_posts/2015-10-08-welcome.md
patch
|
blob
|
history
personal/_posts/2015-10-09-breaking-all-the-way-out.md
patch
|
blob
|
history
personal/blog/index.html
patch
|
blob
|
history
diff --git
a/personal/_config.yml
b/personal/_config.yml
index 0d456bea37db145df975adc450653de53e5903db..d96c35d25a89274fc06e3f4d4195191536c829c2 100644
(file)
--- a/
personal/_config.yml
+++ b/
personal/_config.yml
@@
-2,6
+2,7
@@
baseurl: ""
url: "https://www.ralfj.de"
permalink: "/blog/:year/:month/:day/:title.html"
baseurl: ""
url: "https://www.ralfj.de"
permalink: "/blog/:year/:month/:day/:title.html"
+excerpt_separator: "<!-- MORE -->"
timezone: "Europe/Berlin"
blog:
timezone: "Europe/Berlin"
blog:
diff --git
a/personal/_layouts/default.html
b/personal/_layouts/default.html
index 721c6f0277ed872e9b52cc353c3f15182ce2e460..3ac3deeb71deae0818ff5d74eb973d52b10d657d 100644
(file)
--- a/
personal/_layouts/default.html
+++ b/
personal/_layouts/default.html
@@
-10,7
+10,7
@@
{% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %}
<title>{% if pretitle %}{{ pretitle }} • {% endif %}{{ title }}</title>
{% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %}
<title>{% if pretitle %}{{ pretitle }} • {% endif %}{{ title }}</title>
- {% if page.excerpt %}<meta name="description" content="{{ page.excerpt | newline_to_br | replace:'<br />',' ' | strip_html | strip_newlines | truncate: 1
60
}}">{% endif %}
+ {% if page.excerpt %}<meta name="description" content="{{ page.excerpt | newline_to_br | replace:'<br />',' ' | strip_html | strip_newlines | truncate: 1
92
}}">{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}/style.css">
<link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'/index.html','/' }}">
<link rel="stylesheet" href="{{ site.baseurl }}/style.css">
<link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'/index.html','/' }}">
diff --git
a/personal/_posts/2015-10-08-welcome.md
b/personal/_posts/2015-10-08-welcome.md
index 43b4e8b365214b3317e3bf7c91cc1c01c6c5ea91..6933024e3a95eff8d26cf0b9078881293d751502 100644
(file)
--- a/
personal/_posts/2015-10-08-welcome.md
+++ b/
personal/_posts/2015-10-08-welcome.md
@@
-6,4
+6,6
@@
categories: meta
I'll use this blog to write random articles on things that matter to me, and that I want to share.
So far, I don't know what this will end up being about - probably mostly about programming languages research and related topics, as that's what I do.
I'll use this blog to write random articles on things that matter to me, and that I want to share.
So far, I don't know what this will end up being about - probably mostly about programming languages research and related topics, as that's what I do.
+<!-- MORE -->
+
In the mean time, you can check out my [research](https://www.mpi-sws.org/~jung/) and [project](/projects) pages.
In the mean time, you can check out my [research](https://www.mpi-sws.org/~jung/) and [project](/projects) pages.
diff --git
a/personal/_posts/2015-10-09-breaking-all-the-way-out.md
b/personal/_posts/2015-10-09-breaking-all-the-way-out.md
index 371561b52a2f060c9b2bc79698cee8c1826071b7..0c50fc91cbd7cdb8479a4d12c0dba93ee48fb300 100644
(file)
--- a/
personal/_posts/2015-10-09-breaking-all-the-way-out.md
+++ b/
personal/_posts/2015-10-09-breaking-all-the-way-out.md
@@
-8,6
+8,8
@@
for it somewhere, but not finding the right spot to put a link to that
website? I certainly do, and, well... now that I have a blog, I finally
do have a place for such links!
website? I certainly do, and, well... now that I have a blog, I finally
do have a place for such links!
+<!-- MORE -->
+
So, without further ado, let me present to you [Breaking All the Way Out](/cs/cg),
a video I created some time ago together with a friend. This project was our
submission for the Computer Graphics course.
So, without further ado, let me present to you [Breaking All the Way Out](/cs/cg),
a video I created some time ago together with a friend. This project was our
submission for the Computer Graphics course.
diff --git
a/personal/blog/index.html
b/personal/blog/index.html
index a59db4ca78dba1375103a7e1f706975ead703d0e..380aaaadd3103898fcdcbb721c3188eb67a9c8a5 100644
(file)
--- a/
personal/blog/index.html
+++ b/
personal/blog/index.html
@@
-13,6
+13,8
@@
sort: 10
{% include post-header.html item=post %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
{% include post-header.html item=post %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
</header>
- {{ post.content }}
+ {{ post.excerpt }}
+
+ <p><a href="{{ post.url }}">Read more...</a></p>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}