diff --git a/blorg/testdata/public.md5 b/blorg/testdata/public.md5 index d7506d5..3b653b8 100644 --- a/blorg/testdata/public.md5 +++ b/blorg/testdata/public.md5 @@ -1,4 +1,4 @@ -a23f3b21b036af74ce0dc3b0f6a4d8d7 testdata/public/about.html +2ca8531fdbcfcae02959ba8c810dda76 testdata/public/about.html b93d8331258932e6bb18d866329b5e4e testdata/public/another-post.html a4e5753838107f8cf44f8dfabc577c04 testdata/public/index.html 6e770ea67bb154191530585cc60c8c2f testdata/public/some-post.html diff --git a/blorg/testdata/public/about.html b/blorg/testdata/public/about.html index 5500a0e..d19d1e6 100644 --- a/blorg/testdata/public/about.html +++ b/blorg/testdata/public/about.html @@ -29,110 +29,110 @@ This site is generated from go-org/blorg/testdata/content using the configuration in blorg.org
#+AUTHOR: testdata
-#+TITLE: blorg
-#+BASE_URL: /go-org/blorg
-#+OPTIONS: toc:nil title:nil
-#+CONTENT: ./content
-#+PUBLIC: ./public
-
-* templates
-** head
-#+name: head
-#+begin_src html
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <link rel="stylesheet" href="/go-org/blorg/style.css" type="text/css" />
- <title>{{ .Title }}</title>
-</head>
-#+end_src
-** header
-#+name: header
-#+begin_src html
-<header class='header'>
- <a class="logo" href="/go-org/blorg">home</a>
- <nav>
- <a href="https://www.github.com/niklasfasching/go-org">github</a>
- </nav>
-</header>
-#+end_src
-** item
-#+name: item
-#+begin_src html
-<!doctype html>
-<html>
- {{ template "head" . }}
- <body>
- {{ template "header" . }}
- <div class="container">
- <h1 class="title">{{ .Title }}
- <br>
- <span class="subtitle">{{ .Subtitle }}</span>
- </h1>
- <ul class="tags">
- {{ range .Tags }}
- <li><a href="/go-org/blorg/tags/{{ . | Slugify }}">{{ . }}</a></li>
- {{ end }}
- </ul>
- {{ .Content }}
- </div>
- </body>
-</html>
-#+end_src
-
-** list
-#+name: list
-#+begin_src html
-<!doctype html>
-<html>
- {{ template "head" . }}
- <body>
- {{ template "header" . }}
- <div class="container">
- <h1 class="title">{{ .Title }}</h1>
- <ul class="posts">
- {{ range .Pages }}
- <li class="post">
- <a href="{{ .PermaLink }}">
- <date>{{ .Date.Format "02.01.2006" }}</date>
- <span>{{ .Title }}</span>
- </a>
- </li>
- {{ end }}
- </ul>
- <ul>
- </div>
- </body>
-</html>
-#+end_src
-
-** index
-#+name: index
-#+begin_src html
-<!doctype html>
-<html>
- {{ template "head" . }}
- <body>
- {{ template "header" . }}
- <div class="container">
- <h1 class="title">{{ .Title }}</h1>
- <p>Only pages that have a date will be listed here - e.g. not <a href="about.html">about.html</a>
- <ul class="posts">
- {{ range .Pages }}
- <li class="post">
- <a href="{{ .PermaLink }}">
- <date>{{ .Date.Format "02.01.2006" }}</date>
- <span>{{ .Title }}</span>
- </a>
- </li>
- {{ end }}
- </ul>
- <ul>
- </div>
- </body>
-</html>
-#+end_src
+#+AUTHOR: testdata
+#+TITLE: blorg
+#+BASE_URL: /go-org/blorg
+#+OPTIONS: toc:nil title:nil
+#+CONTENT: ./content
+#+PUBLIC: ./public
+
+* templates
+** head
+#+name: head
+#+begin_src html
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="/go-org/blorg/style.css" type="text/css" />
+ <title>{{ .Title }}</title>
+</head>
+#+end_src
+** header
+#+name: header
+#+begin_src html
+<header class='header'>
+ <a class="logo" href="/go-org/blorg">home</a>
+ <nav>
+ <a href="https://www.github.com/niklasfasching/go-org">github</a>
+ </nav>
+</header>
+#+end_src
+** item
+#+name: item
+#+begin_src html
+<!doctype html>
+<html>
+ {{ template "head" . }}
+ <body>
+ {{ template "header" . }}
+ <div class="container">
+ <h1 class="title">{{ .Title }}
+ <br>
+ <span class="subtitle">{{ .Subtitle }}</span>
+ </h1>
+ <ul class="tags">
+ {{ range .Tags }}
+ <li><a href="/go-org/blorg/tags/{{ . | Slugify }}">{{ . }}</a></li>
+ {{ end }}
+ </ul>
+ {{ .Content }}
+ </div>
+ </body>
+</html>
+#+end_src
+
+** list
+#+name: list
+#+begin_src html
+<!doctype html>
+<html>
+ {{ template "head" . }}
+ <body>
+ {{ template "header" . }}
+ <div class="container">
+ <h1 class="title">{{ .Title }}</h1>
+ <ul class="posts">
+ {{ range .Pages }}
+ <li class="post">
+ <a href="{{ .PermaLink }}">
+ <date>{{ .Date.Format "02.01.2006" }}</date>
+ <span>{{ .Title }}</span>
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+ <ul>
+ </div>
+ </body>
+</html>
+#+end_src
+
+** index
+#+name: index
+#+begin_src html
+<!doctype html>
+<html>
+ {{ template "head" . }}
+ <body>
+ {{ template "header" . }}
+ <div class="container">
+ <h1 class="title">{{ .Title }}</h1>
+ <p>Only pages that have a date will be listed here - e.g. not <a href="about.html">about.html</a>
+ <ul class="posts">
+ {{ range .Pages }}
+ <li class="post">
+ <a href="{{ .PermaLink }}">
+ <date>{{ .Date.Format "02.01.2006" }}</date>
+ <span>{{ .Title }}</span>
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+ <ul>
+ </div>
+ </body>
+</html>
+#+end_src