Overview
Comment:Restore old behaviour where last article is shown in full on front page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 77387d2a6ed69d704fd3aa8f6fe345181e18eb721ecc9da61c9da7a87ce19fcf
User & Date: bohwaz on 2021-04-10 13:32:53
Other Links: manifest | tags
Context
2021-04-10
20:13
Fix attachments URL check-in: 433acb66ef user: bohwaz tags: trunk, stable
13:32
Restore old behaviour where last article is shown in full on front page check-in: 77387d2a6e user: bohwaz tags: trunk, stable
12:20
Fix exists for sqlite check-in: 75cd77fc8b user: bohwaz tags: trunk, stable, 1.1.1
Changes

Modified src/www/skel-dist/index.html from [e346bb1e71] to [fdeeeb8865].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{:include file="_head.html"}}

{{#articles order="published DESC" future=false limit=1}}
<section class="articles main">
	<article>
		{{#images parent=$path limit=1}}
		<aside>
			<a href="{{$.url}}"><img src="{{$thumb_url}}" alt="" /></a>
		</aside>
		{{/images}}

		<h1><a href="{{ $url }}">{{ $title }}</a></h1>
		<h5>Posté : {{ $published|relative_date }}</h5>
		<p>{{ $html|raw|strip_tags|truncate:600 }}</p>
	</article>
</section>
{{/articles}}

{{#articles order="published DESC" future=false begin=1 limit=9}}
<section class="articles">
	<article>













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{:include file="_head.html"}}

{{#articles order="published DESC" future=false limit=1}}
<section class="articles main">
	<article>
		{{#images parent=$path limit=1}}
		<aside>
			<a href="{{$.url}}"><img src="{{$thumb_url}}" alt="" /></a>
		</aside>
		{{/images}}

		<h1><a href="{{ $url }}">{{ $title }}</a></h1>
		<h5>Posté : {{ $published|relative_date }}</h5>
		<p>{{ $html|raw }}</p>
	</article>
</section>
{{/articles}}

{{#articles order="published DESC" future=false begin=1 limit=9}}
<section class="articles">
	<article>