Skip to content

Instantly share code, notes, and snippets.

@bstro
Created Feb 28, 2019
Embed
What would you like to do?
◊; located in the root folder of my project, adjacent to template.html.p
#lang pollen
front/cover.poly.pm
front/author_note.poly.pm
body/1_understanding_the_names.poly.pm
body/2_understanding_the_lines.poly.pm
body/3_the_trigrams.poly.pm
body/4_growth_needs_decay.poly.pm
body/5_the_last_step_is_half_the_journey.poly.pm
body/6_a_gift_of_method.poly.pm
◊; this is located in my root folder adjacent to index.ptree
◊; here evalates to a path to the current doc,
◊; but lines 15 and 16 – ◊(previous here) and ◊(next here) evaluate to empty strings.
<html>
<head>
<meta charset="UTF-8">
<title>◊(hash-ref metas 'title)</title>
<link rel="stylesheet" type="text/css" media="all" href="styles.css" />
</head>
<body>
<a href="◊(previous here)">Previous</a>.
<a href="◊(next here)">Next</a>.
◊(->html doc)
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment