Skip to content

Commit

Permalink
Some minor presentation tweaks. Added feed to S&P
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid committed Jul 16, 2009
1 parent 1218c7e commit f59b56f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
13 changes: 12 additions & 1 deletion files/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,18 @@ dt { font-weight: bold;}
dd { margin: 0 0 1.5em 0; text-align: justify; }

ul.compact { margin: 0; padding: 0;}
ul.compact li { list-style: none; }
ul.compact li { list-style: ;
list-style-type: square;
list-style-position: inside;
}
ul.compact li span.date {
display: none;
color: grey;
width: 20%;
}
ul.compact li a {
width: 70%;
}
/* @end */

/* @group Header */
Expand Down
10 changes: 4 additions & 6 deletions index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ I keep a research blog called _[Inductio ex Machina](/iem)_ on
machine learning and statistics.
Recent posts include:
{% for post in site.categories.iem limit:3 %}
<ul class="compact">
<ul class="compact recent">
<li>
<span class="date">{{ post.date | date_to_string }}</span>
&nbsp;&mdash;&nbsp;
<a href="{{ post.url }}" title="{{ post.excerpt }}">{{ post.title }}</a>
<span class="date">{{ post.date | date_to_string }}</span>
</li>
</ul>
{% endfor %}
Expand All @@ -42,11 +41,10 @@ Recent posts include:
+--{.section}
I have also just started a programming blog called _[Structure & Process](/sap)_.
{% for sappost in site.categories.sap limit:3 %}
<ul class="compact">
<ul class="compact recent">
<li>
<span class="date">{{ sappost.date | date_to_string }}</span>
&nbsp;&mdash;&nbsp;
<a href="{{ sappost.url }}" title="{{ sappost.excerpt }}">{{ sappost.title }}</a>
<span class="date">{{ sappost.date | date_to_string }}</span>
</li>
</ul>
{% endfor %}
Expand Down
9 changes: 8 additions & 1 deletion sap/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ Programming Lab Notes
Programming is all about _structure_ and _process_ and this blog is all about
[Mark Reid](/)'s adventures in programming. Enjoy!

My most recent post are:
[![Feed icon](/files/css/feed-icon-14x14.png){:title="Atom feed of recent posts" .right}][feed]
A [feed][] of the most recent posts is available.

[feed]: /sap/atom.xml

Recent Posts
------------

{% for post in site.categories.sap limit:5 %}
<div class="section list">
<h1>{{ post.date | date_to_string }}</h1>
Expand Down

0 comments on commit f59b56f

Please sign in to comment.