t73f.de

Check-in [d3502fb299]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Teaser on start page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d3502fb299f537bdf088cf2f7d313a0d45f2e3a6
User & Date: dkreuz 2016-04-26 18:08:12
Context
2016-04-26
18:18
Remove links on start page check-in: 6cb630d43a user: dkreuz tags: trunk
18:08
Teaser on start page check-in: d3502fb299 user: dkreuz tags: trunk
15:11
Fix HTML error check-in: c178664302 user: dkreuz tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to assets/static/style.css.

43
44
45
46
47
48
49
50

51
52
53
54
55
56
57
58
59
60
61
62
63
64
..
70
71
72
73
74
75
76


77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
...
143
144
145
146
147
148
149












150
151
152
153
154
155
156
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6,
.main-nav > ul > li,
.main-nav > ul > li ul li {

  font-family: 'Droid Sans', 'Verdana', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

p, li {
  font-family: 'Droid Serif', 'Georgia', serif;
}

p {
  hyphens: auto;
}

................................................................................
b, strong {
  font-weight: bold;
}

i, em, blockquote {
  font-style: italic;
}



img {
  margin: 0;
  height: auto;
  max-width: 100%;
  width: auto;
}

header h1 {
  font-size: 200%;
  padding: 0 0 0 1%;
  margin-bottom: 0;
}

header h1 a {
  text-decoration: none;
  color: #000;
}

main {
  margin-top: 1.5em;
}
.main-nav {
  width: 15%;
  text-align: right;
  float: left;
}

.main-nav > ul {
  margin: 0 0 0 6%;
  padding: 0;
................................................................................
  border-image: url("content_border.png") 6 6 stretch;
  overflow: hidden;
  padding: 1em 1em 1em 1em;
  line-height: 145%;
  position: relative;
}













.blog-post-nav {
  color: #888;
  font-size: 80%;
  line-height: 1em;
  overflow: hidden;
}
.blog-post-nav.above {







|
>






|







 







>
>
|













|








|







 







>
>
>
>
>
>
>
>
>
>
>
>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
..
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
...
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
  line-height: 1;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6,
.main-nav > ul > li,
.main-nav > ul > li ul li,
.blog-post-teaser-title {
  font-family: 'Droid Sans', 'Verdana', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

p, li, div, span {
  font-family: 'Droid Serif', 'Georgia', serif;
}

p {
  hyphens: auto;
}

................................................................................
b, strong {
  font-weight: bold;
}

i, em, blockquote {
  font-style: italic;
}
a:visited {
  color: #b51700;
}
img {
  margin: 0;
  height: auto;
  max-width: 100%;
  width: auto;
}

header h1 {
  font-size: 200%;
  padding: 0 0 0 1%;
  margin-bottom: 0;
}

header h1 a, header h1 a:visited {
  text-decoration: none;
  color: #000;
}

main {
  margin-top: 1.5em;
}
.main-nav {
  width: 16%;
  text-align: right;
  float: left;
}

.main-nav > ul {
  margin: 0 0 0 6%;
  padding: 0;
................................................................................
  border-image: url("content_border.png") 6 6 stretch;
  overflow: hidden;
  padding: 1em 1em 1em 1em;
  line-height: 145%;
  position: relative;
}

.blog-post-teaser {
  margin-bottom: 0.5em;
}
.blog-post-teaser-title {
  font-weight: bold;
  font-style: italic;
  color: #b51700;
}
.blog-post-teaser-text {
  font-size: 90%;
  line-height: normal;
}
.blog-post-nav {
  color: #888;
  font-size: 80%;
  line-height: 1em;
  overflow: hidden;
}
.blog-post-nav.above {

Changes to templates/home.html.

1
2
3
4
5
6
7
8
9

10



11
12
13
{% extends "layout.html" %}
{% from "macros/utils.html" import render_heading %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ render_heading(this) }}
{{ this.body }}
<h2>Letzte Artikel</h2>
<ul>
{%- for post in site.get("/blog").children.limit(4) %}

<li><a href="{{ post|url }}">{{ post.title }}</a></li>



{%- endfor %}
</ul>
{% endblock %}







<

>
|
>
>
>

<

1
2
3
4
5
6
7

8
9
10
11
12
13
14

15
{% extends "layout.html" %}
{% from "macros/utils.html" import render_heading %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ render_heading(this) }}
{{ this.body }}
<h2>Letzte Artikel</h2>

{%- for post in site.get("/blog").children.limit(4) %}
<div class="blog-post-teaser">
<span class="blog-post-teaser-title">{{ post.title }}</span><br>
<span class="blog-post-teaser-text">{{ post.body|striptags|truncate }} <a href="{{ post|url }}">mehr</a></span>
<!-- {{ post.body.meta }} -->
</div>
{%- endfor %}

{% endblock %}