Skip to content
Permalink
Browse files

template tweaks

  • Loading branch information...
fluffy-critter committed Mar 17, 2019
1 parent ab8a83e commit 91c30bf7ca1994414c5624979bf7527223deb9a6
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ entry.title }}</title>
</head>

@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ category.name or 'My simple site' }}</title>
</head>

@@ -11,7 +11,7 @@ Entry-ID: 321

This is an incredibly basic test entry.

## How this works
### How this works

Well, I dunno.

@@ -2,6 +2,7 @@
<html>

<head>
<meta charset="utf-8">
<title>Publ: {{ entry.title(markup=False) }}</title>
<link rel="stylesheet" href="{{static('lightbox/css/lightbox.min.css')}}">
<link rel="stylesheet" href="{{entry.stylesheet or 'style.css'}}">
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Publ {{category.path or ''}}</title>
<link rel="stylesheet" href="style.css" />
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="feed" />
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{category.name}}</title>
<link rel="stylesheet" href="style.css" />
<link rel="alternate" type="application/atom+xml" title="Atom feed" href="feed" />
@@ -58,15 +59,16 @@ <h2>Navigation</h2>
<article class="h-entry entry">
{% block entry scoped %}
<h2 class="p-name">
{%- if entry.more or entry['redirect-to'] %}<a class="u-url" href="{{entry.link}}">{{entry.title}}</a>
{%- else -%}
{{entry.title}}
{%- endif -%}
<a class="u-url" href="{{entry.link}}">{{entry.title}}</a>
</h2>

<section class="p-summary">
{{entry.body(width=320,height=320)}}
</section>

{% if entry.more %}
<div><a href="{{entry.link}}">read body</a></div>
{%endif%}
{% endblock %}

</article>
@@ -1,5 +1,8 @@
<!DOCTYPE html>
<html><head>Fragment test</head>
<html><head>
<meta charset="utf-8">
<title>Fragment test</title>
</head>
<body>
{% for entry in view(recurse=True).entries %}
<h1>{{entry.title}}</h1>

0 comments on commit 91c30bf

Please sign in to comment.
You can’t perform that action at this time.