www-lauka-net-11ty/_includes/layouts/book.njk

34 lines
1.1 KiB
Text
Raw Normal View History

---
title: lauka (dot) net
2023-06-13 12:39:48 +02:00
permalink: "books/{{ name | slugify }}/index.html"
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
name="viewport"
content="shrink-to-fit=no,width=device-width,height=device-height,initial-scale=1,user-scalable=1">
<meta name="description" content="My little cozy place on the web.">
2023-06-13 12:39:48 +02:00
<title>lauka.net - Book: {{ author }}: {{ name }}</title>
<link rel='stylesheet' type='text/css' media='screen' href="{{ '/css/main.css' | url }}"/>
</head>
<body class="h-card">
2023-06-13 12:39:48 +02:00
<h1>Book: {{ name }} by {{ author }}</h1>
<a href="/books/">⇠ back to book overview</a>
<br/><br/>
<h2>Rating:
{% for i in range(0, rating) -%}
{%- endfor %}
</h2>
2023-06-13 12:39:48 +02:00
{% if goodreads %}<a href="{{ goodreads }}" target="_blank">Link to Goodreads</a>{% endif %}
<p class="p-note">
{{ content | safe }}
</p>
</body>
</html>