diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-14 17:25:43 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-14 17:25:43 +0200 |
| commit | decde989ff7614dc109af1fb42559ff4814ffc7c (patch) | |
| tree | c048abd48246a239b007ccdb589cff609e151a25 /template/post.html | |
| parent | 5bcf488adc75256e53b59fa42cdd0407020bff8d (diff) | |
| download | mitjafelicijan.com-decde989ff7614dc109af1fb42559ff4814ffc7c.tar.gz | |
Removed search from the blog
Diffstat (limited to 'template/post.html')
| -rwxr-xr-x | template/post.html | 116 |
1 files changed, 57 insertions, 59 deletions
diff --git a/template/post.html b/template/post.html index cf80b22..3ce5ff0 100755 --- a/template/post.html +++ b/template/post.html | |||
| @@ -1,78 +1,76 @@ | |||
| 1 | <!doctype html> | 1 | <!doctype html> |
| 2 | <html lang="en"> | 2 | <html lang="en"> |
| 3 | 3 | ||
| 4 | <head> | 4 | <head> |
| 5 | {{template "_meta.html"}} | 5 | {{template "_meta.html"}} |
| 6 | |||
| 7 | <title>{{.Title}}</title> | ||
| 8 | <meta name="description" content="{{.Description}}"> | ||
| 9 | <meta property="og:title" content="{{.Title}}"> | ||
| 10 | <meta property="og:description" content="{{.Description}}"> | ||
| 11 | </head> | ||
| 12 | |||
| 13 | <body> | ||
| 14 | |||
| 15 | {{template "_navigation.html"}} | ||
| 16 | |||
| 17 | <main class="wrapper"> | ||
| 18 | <article itemtype="http://schema.org/Article"> | ||
| 19 | <header> | ||
| 20 | <h1 itemtype="headline">{{.Title}}</h1> | ||
| 21 | {{if .Listing}} | ||
| 22 | <time>Published on {{.CreatedFormatted}}</time> | ||
| 23 | {{end}} | ||
| 24 | </header> | ||
| 25 | <div> | ||
| 26 | {{.Content}} | ||
| 27 | </div> | ||
| 28 | </article> | ||
| 29 | 6 | ||
| 30 | {{if .Listing}} | 7 | <title>{{.Title}}</title> |
| 8 | <meta name="description" content="{{.Description}}"> | ||
| 9 | <meta property="og:title" content="{{.Title}}"> | ||
| 10 | <meta property="og:description" content="{{.Description}}"> | ||
| 11 | </head> | ||
| 31 | 12 | ||
| 32 | <hr class="top-margin"> | 13 | <body> |
| 33 | 14 | ||
| 34 | <p class="top-margin"> | 15 | {{template "_navigation.html"}} |
| 35 | <strong>Comment, contact:</strong> The easiest way to contact me is by writing me a message on <a href="https://t.me/mitjafelicijan" target="_blank">Telegram (https://t.me/mitjafelicijan)</a>. | ||
| 36 | </p> | ||
| 37 | 16 | ||
| 38 | <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a>.</p> | 17 | <main class="wrapper"> |
| 39 | 18 | <article itemtype="http://schema.org/Article"> | |
| 40 | <hr class="top-margin"> | 19 | <header> |
| 41 | 20 | <h1 itemtype="headline">{{.Title}}</h1> | |
| 42 | {{if .Posts}} | 21 | {{if .Listing}} |
| 43 | <nav class="top-margin"> | 22 | <time>Published on {{.CreatedFormatted}}</time> |
| 44 | <h4>Read more from this site</h4> | ||
| 45 | {{range $index, $post := .Posts}} | ||
| 46 | {{if .Listing}} | ||
| 47 | {{if (lt $index 5)}} | ||
| 48 | <p> | ||
| 49 | <time>{{$post.CreatedFormatted}}</time><br> | ||
| 50 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | ||
| 51 | {{$post.Title}} | ||
| 52 | </a> | ||
| 53 | </p> | ||
| 54 | {{end}} | ||
| 55 | {{end}} | ||
| 56 | {{end}} | 23 | {{end}} |
| 57 | </nav> | 24 | </header> |
| 58 | {{end}} | 25 | <div> |
| 26 | {{.Content}} | ||
| 27 | </div> | ||
| 28 | </article> | ||
| 29 | |||
| 30 | {{if .Listing}} | ||
| 31 | |||
| 32 | <hr class="top-margin"> | ||
| 33 | |||
| 34 | <p class="top-margin"> | ||
| 35 | <strong>Comment, contact:</strong> The easiest way to contact me is by writing me a message on <a href="https://t.me/mitjafelicijan" target="_blank">Telegram (https://t.me/mitjafelicijan)</a>. | ||
| 36 | </p> | ||
| 59 | 37 | ||
| 60 | <hr class="top-margin"> | 38 | <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a>.</p> |
| 61 | 39 | ||
| 62 | {{template "openring-build.html"}} | 40 | <hr class="top-margin"> |
| 63 | 41 | ||
| 42 | {{if .Posts}} | ||
| 43 | <nav class="top-margin"> | ||
| 44 | <h4>Read more from this site</h4> | ||
| 45 | {{range $index, $post := .Posts}} | ||
| 46 | {{if .Listing}} | ||
| 47 | {{if (lt $index 5)}} | ||
| 48 | <p> | ||
| 49 | <time>{{$post.CreatedFormatted}}</time><br> | ||
| 50 | <a href="/{{$post.Slug}}" title="{{$post.Title}}" itemprop="url"> | ||
| 51 | {{$post.Title}} | ||
| 52 | </a> | ||
| 53 | </p> | ||
| 54 | {{end}} | ||
| 64 | {{end}} | 55 | {{end}} |
| 56 | {{end}} | ||
| 57 | </nav> | ||
| 58 | {{end}} | ||
| 59 | |||
| 60 | <hr class="top-margin"> | ||
| 61 | |||
| 62 | {{template "openring-build.html"}} | ||
| 65 | 63 | ||
| 66 | </main> | 64 | {{end}} |
| 67 | 65 | ||
| 68 | {{template "_footer.html"}} | 66 | </main> |
| 69 | 67 | ||
| 70 | {{template "_includes.html"}} | 68 | {{template "_footer.html"}} |
| 71 | 69 | ||
| 72 | {{template "_search.html"}} | 70 | {{template "_includes.html"}} |
| 73 | 71 | ||
| 74 | {{template "_libraries.html"}} | 72 | {{template "_libraries.html"}} |
| 75 | 73 | ||
| 76 | </body> | 74 | </body> |
| 77 | 75 | ||
| 78 | </html> | 76 | </html> \ No newline at end of file |
