on
The Journalist: a fast WordPress theme
As I decided to start this blog, I was struggling with the theme I should use. After a time and a lot of tries I decided to use “The Journalist” as my WordPress blog theme. The Journalist is a minimalistic, small and good looking WordPress theme. I like the typography, this theme is using and the way the articles/blogs building the center of the webpage.
Even trough I don’t like to have the full posts in the overview or search results. I prefer the excerpt, so I changed the following line in the files single.php, archive.php, index.php, search.php
<?php //the_content('Read the rest of this entry »');
the_excerpt('Read the rest of this entry »'); >
This small hack just changes the behavior how posts are displayed. The function “the_content” gives the full post while the function “the_excerpt” only gives a short preview.
The next small change I made on the style.css. Since I use a lot of code blocks I’d like to have them displayed a bit different then the theme-designer wanted to. I use the “pre” tags to declare code or bash output, so I added the following css code to the style.css file.
.main pre {
line-height:18px;
margin:0 0 15px 0;
background:#f3f3f3;
font-family: "Courier new", monospace;
}