@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 0 - AdventOfCTF" |
title = "Challenge 0" |
||||||
|
subtitle = "Challenge 0 - AdventOfCTF" |
||||||
date = 2020-12-02T17:20:28+01:00 |
date = 2020-12-02T17:20:28+01:00 |
||||||
description = "A writeup for challenge 0 of AdventOfCTF." |
description = "A writeup for challenge 0 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/f90b2bf3f08ee628c09505ff309018ed.png" |
cover = "img/writeups/adventofctf/2020/f90b2bf3f08ee628c09505ff309018ed.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 1 - AdventOfCTF" |
title = "Challenge 1" |
||||||
|
subtitle = "Challenge 1 - AdventOfCTF" |
||||||
date = 2020-12-02T17:27:25+01:00 |
date = 2020-12-02T17:27:25+01:00 |
||||||
description = "A writeup for challenge 1 of AdventOfCTF." |
description = "A writeup for challenge 1 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/3f12301d8715a1371d2d776d25ea6ab6.png" |
cover = "img/writeups/adventofctf/2020/3f12301d8715a1371d2d776d25ea6ab6.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 10 - AdventOfCTF" |
title = "Challenge 10" |
||||||
|
subtitle = "Challenge 10 - AdventOfCTF" |
||||||
date = 2020-12-11T22:12:42+01:00 |
date = 2020-12-11T22:12:42+01:00 |
||||||
description = "A writeup for challenge 10 of AdventOfCTF." |
description = "A writeup for challenge 10 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/ba15475608ea3f8313825eec5dceac06.png" |
cover = "img/writeups/adventofctf/2020/ba15475608ea3f8313825eec5dceac06.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 11 - AdventOfCTF" |
title = "Challenge 11" |
||||||
|
subtitle = "Challenge 11 - AdventOfCTF" |
||||||
date = 2020-12-11T23:45:32+01:00 |
date = 2020-12-11T23:45:32+01:00 |
||||||
description = "A writeup for challenge 11 of AdventOfCTF." |
description = "A writeup for challenge 11 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/3542630bd0bb5141d94e4b40930bd69d.png" |
cover = "img/writeups/adventofctf/2020/3542630bd0bb5141d94e4b40930bd69d.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 12 - AdventOfCTF" |
title = "Challenge 12" |
||||||
|
subtitle = "Challenge 12 - AdventOfCTF" |
||||||
date = 2020-12-14T15:55:21+01:00 |
date = 2020-12-14T15:55:21+01:00 |
||||||
description = "A writeup for challenge 12 of AdventOfCTF." |
description = "A writeup for challenge 12 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/af3424cd215a6459494ae07eab33cb35.png" |
cover = "img/writeups/adventofctf/2020/af3424cd215a6459494ae07eab33cb35.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 13 - AdventOfCTF" |
title = "Challenge 13" |
||||||
|
subtitle = "Challenge 13 - AdventOfCTF" |
||||||
date = 2020-12-14T18:48:28+01:00 |
date = 2020-12-14T18:48:28+01:00 |
||||||
description = "A writeup for challenge 13 of AdventOfCTF." |
description = "A writeup for challenge 13 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/24e9ce8f146f70b4189f1d2532a75208.png" |
cover = "img/writeups/adventofctf/2020/24e9ce8f146f70b4189f1d2532a75208.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 14 - AdventOfCTF" |
title = "Challenge 14" |
||||||
|
subtitle = "Challenge 14 - AdventOfCTF" |
||||||
date = 2020-12-14T19:45:51+01:00 |
date = 2020-12-14T19:45:51+01:00 |
||||||
description = "A writeup for challenge 14 of AdventOfCTF." |
description = "A writeup for challenge 14 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/dd04640480d764ab09eea047cde749cd.png" |
cover = "img/writeups/adventofctf/2020/dd04640480d764ab09eea047cde749cd.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 18 - AdventOfCTF" |
title = "Challenge 18" |
||||||
|
subtitle = "Challenge 18 - AdventOfCTF" |
||||||
date = 2021-01-06T23:04:52+01:00 |
date = 2021-01-06T23:04:52+01:00 |
||||||
description = "A writeup for challenge 18 of AdventOfCTF." |
description = "A writeup for challenge 18 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/be40bcd25e7487440a64b13cd32049b2.png" |
cover = "img/writeups/adventofctf/2020/be40bcd25e7487440a64b13cd32049b2.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 2 - AdventOfCTF" |
title = "Challenge 2" |
||||||
|
subtitle = "Challenge 2 - AdventOfCTF" |
||||||
date = 2020-12-02T17:30:25+01:00 |
date = 2020-12-02T17:30:25+01:00 |
||||||
description = "A writeup for challenge 2 of AdventOfCTF." |
description = "A writeup for challenge 2 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/948b1eb046c96865a05808660ee99e10.png" |
cover = "img/writeups/adventofctf/2020/948b1eb046c96865a05808660ee99e10.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 20 - AdventOfCTF" |
title = "Challenge 20" |
||||||
|
subtitle = "Challenge 20 - AdventOfCTF" |
||||||
date = 2021-02-26T00:11:35+01:00 |
date = 2021-02-26T00:11:35+01:00 |
||||||
description = "A writeup for challenge 20 of AdventOfCTF." |
description = "A writeup for challenge 20 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/c1f93b6ee2e1cd25ea02f9a78c364b12.png" |
cover = "img/writeups/adventofctf/2020/c1f93b6ee2e1cd25ea02f9a78c364b12.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 21 - AdventOfCTF" |
title = "Challenge 21" |
||||||
|
subtitle = "Challenge 21 - AdventOfCTF" |
||||||
date = 2021-02-26T11:45:53+01:00 |
date = 2021-02-26T11:45:53+01:00 |
||||||
description = "A writeup for challenge 21 of AdventOfCTF." |
description = "A writeup for challenge 21 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/a4afd1fffb0b662d849a6907767f0625.png" |
cover = "img/writeups/adventofctf/2020/a4afd1fffb0b662d849a6907767f0625.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 22 - AdventOfCTF" |
title = "Challenge 22" |
||||||
|
subtitle = "Challenge 22 - AdventOfCTF" |
||||||
date = 2021-03-04T01:24:34+01:00 |
date = 2021-03-04T01:24:34+01:00 |
||||||
description = "A writeup for challenge 22 of AdventOfCTF." |
description = "A writeup for challenge 22 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/6c0810c1568645bcf58da67a1db6e3e7.png" |
cover = "img/writeups/adventofctf/2020/6c0810c1568645bcf58da67a1db6e3e7.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 24 - AdventOfCTF" |
title = "Challenge 24" |
||||||
|
subtitle = "Challenge 24 - AdventOfCTF" |
||||||
date = 2021-09-22T12:12:12+01:00 |
date = 2021-09-22T12:12:12+01:00 |
||||||
description = "A writeup for challenge 24 of AdventOfCTF." |
description = "A writeup for challenge 24 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/b915cb528c4b3d6fc4644f73ba8b829d.png" |
cover = "img/writeups/adventofctf/2020/b915cb528c4b3d6fc4644f73ba8b829d.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 3 - AdventOfCTF" |
title = "Challenge 3" |
||||||
|
subtitle = "Challenge 3 - AdventOfCTF" |
||||||
date = 2020-12-03T09:29:12+01:00 |
date = 2020-12-03T09:29:12+01:00 |
||||||
description = "A writeup for challenge 3 of AdventOfCTF." |
description = "A writeup for challenge 3 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/4f5cc0afbb9e7ec6a57cdd68a92b9213.png" |
cover = "img/writeups/adventofctf/2020/4f5cc0afbb9e7ec6a57cdd68a92b9213.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 4 - AdventOfCTF" |
title = "Challenge 4" |
||||||
|
subtitle = "Challenge 4 - AdventOfCTF" |
||||||
date = 2020-12-04T09:58:46+01:00 |
date = 2020-12-04T09:58:46+01:00 |
||||||
description = "A writeup for challenge 4 of AdventOfCTF." |
description = "A writeup for challenge 4 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/f1d6ca5572e0c012239bcf4a8f797be1.png" |
cover = "img/writeups/adventofctf/2020/f1d6ca5572e0c012239bcf4a8f797be1.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 5 - AdventOfCTF" |
title = "Challenge 5" |
||||||
|
subtitle = "Challenge 5 - AdventOfCTF" |
||||||
date = 2020-12-05T08:57:31+01:00 |
date = 2020-12-05T08:57:31+01:00 |
||||||
description = "A writeup for challenge 5 of AdventOfCTF." |
description = "A writeup for challenge 5 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/080b5d5fcaf13167d2e7e8871fdc8ded.png" |
cover = "img/writeups/adventofctf/2020/080b5d5fcaf13167d2e7e8871fdc8ded.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 6 - AdventOfCTF" |
title = "Challenge 6" |
||||||
|
subtitle = "Challenge 6 - AdventOfCTF" |
||||||
date = 2020-12-06T15:24:45+01:00 |
date = 2020-12-06T15:24:45+01:00 |
||||||
description = "A writeup for challenge 6 of AdventOfCTF." |
description = "A writeup for challenge 6 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/c366d63edd4a35c9f8bea89e57401fef.png" |
cover = "img/writeups/adventofctf/2020/c366d63edd4a35c9f8bea89e57401fef.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 7 - AdventOfCTF" |
title = "Challenge 7" |
||||||
|
subtitle = "Challenge 7 - AdventOfCTF" |
||||||
date = 2020-12-07T16:43:23+01:00 |
date = 2020-12-07T16:43:23+01:00 |
||||||
description = "A writeup for challenge 7 of AdventOfCTF." |
description = "A writeup for challenge 7 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/9fac6046540f4972c60f458b94aacb1d.png" |
cover = "img/writeups/adventofctf/2020/9fac6046540f4972c60f458b94aacb1d.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 8 - AdventOfCTF" |
title = "Challenge 8" |
||||||
|
subtitle = "Challenge 8 - AdventOfCTF" |
||||||
date = 2020-12-08T09:34:24+01:00 |
date = 2020-12-08T09:34:24+01:00 |
||||||
description = "A writeup for challenge 8 of AdventOfCTF." |
description = "A writeup for challenge 8 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/da781419d6bf02d0a580e48414b9cbde.png" |
cover = "img/writeups/adventofctf/2020/da781419d6bf02d0a580e48414b9cbde.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Challenge 9 - AdventOfCTF" |
title = "Challenge 9" |
||||||
|
subtitle = "Challenge 9 - AdventOfCTF" |
||||||
date = 2020-12-11T21:24:52+01:00 |
date = 2020-12-11T21:24:52+01:00 |
||||||
description = "A writeup for challenge 9 of AdventOfCTF." |
description = "A writeup for challenge 9 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/973ded4b2381c28af6c24d3d670303c6.png" |
cover = "img/writeups/adventofctf/2020/973ded4b2381c28af6c24d3d670303c6.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
@ -1,9 +1,10 @@ |
|||||||
+++ |
+++ |
||||||
author = "Maik de Kruif" |
author = "Maik de Kruif" |
||||||
title = "Intro to AdventOfCTF" |
title = "Intro to AdventOfCTF" |
||||||
|
subtitle = "AdventOfCTF" |
||||||
date = 2020-12-02T17:10:12+01:00 |
date = 2020-12-02T17:10:12+01:00 |
||||||
description = "Challenge 0 of AdventOfCTF." |
description = "Challenge 0 of AdventOfCTF." |
||||||
cover = "img/adventofctf/2020/advent_of_ctf_coming_soon.png" |
cover = "img/writeups/adventofctf/2020/advent_of_ctf_coming_soon.png" |
||||||
tags = [ |
tags = [ |
||||||
"AdventOfCTF", |
"AdventOfCTF", |
||||||
"challenge", |
"challenge", |
Before Width: | Height: | Size: 512 KiB After Width: | Height: | Size: 512 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 572 KiB After Width: | Height: | Size: 572 KiB |
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 499 KiB |
Before Width: | Height: | Size: 523 KiB After Width: | Height: | Size: 523 KiB |
Before Width: | Height: | Size: 522 KiB After Width: | Height: | Size: 522 KiB |
Before Width: | Height: | Size: 568 KiB After Width: | Height: | Size: 568 KiB |
Before Width: | Height: | Size: 540 KiB After Width: | Height: | Size: 540 KiB |
Before Width: | Height: | Size: 532 KiB After Width: | Height: | Size: 532 KiB |
Before Width: | Height: | Size: 553 KiB After Width: | Height: | Size: 553 KiB |
Before Width: | Height: | Size: 628 KiB After Width: | Height: | Size: 628 KiB |
Before Width: | Height: | Size: 560 KiB After Width: | Height: | Size: 560 KiB |
Before Width: | Height: | Size: 536 KiB After Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 594 KiB After Width: | Height: | Size: 594 KiB |
Before Width: | Height: | Size: 636 KiB After Width: | Height: | Size: 636 KiB |
Before Width: | Height: | Size: 314 KiB After Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 516 KiB After Width: | Height: | Size: 516 KiB |
Before Width: | Height: | Size: 546 KiB After Width: | Height: | Size: 546 KiB |
Before Width: | Height: | Size: 579 KiB After Width: | Height: | Size: 579 KiB |
Before Width: | Height: | Size: 558 KiB After Width: | Height: | Size: 558 KiB |
Before Width: | Height: | Size: 552 KiB After Width: | Height: | Size: 552 KiB |
Before Width: | Height: | Size: 559 KiB After Width: | Height: | Size: 559 KiB |
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 499 KiB |
Before Width: | Height: | Size: 536 KiB After Width: | Height: | Size: 536 KiB |
Before Width: | Height: | Size: 564 KiB After Width: | Height: | Size: 564 KiB |
Before Width: | Height: | Size: 515 KiB After Width: | Height: | Size: 515 KiB |
Before Width: | Height: | Size: 314 KiB After Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 348 KiB |
Before Width: | Height: | Size: 309 KiB After Width: | Height: | Size: 309 KiB |
@ -0,0 +1,36 @@ |
|||||||
|
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"> |
||||||
|
<channel> |
||||||
|
<title>XXX {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> |
||||||
|
<link>{{ .Permalink }}</link> |
||||||
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> |
||||||
|
{{- with .Site.LanguageCode }} |
||||||
|
<language>{{.}}</language> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Author.email }} |
||||||
|
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Author.email }} |
||||||
|
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Copyright }} |
||||||
|
<copyright>{{.}}</copyright> |
||||||
|
{{- end }} |
||||||
|
{{- if not .Date.IsZero }} |
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate> |
||||||
|
{{- end }} |
||||||
|
{{- with .OutputFormats.Get "RSS" -}} |
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} |
||||||
|
{{- end }} |
||||||
|
{{ range .Pages }} |
||||||
|
<item> |
||||||
|
<title>{{ .Title }}</title> |
||||||
|
<link>{{ .Permalink }}</link> |
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> |
||||||
|
<author>{{ .Params.author }}</author> |
||||||
|
<guid isPermaLink="true">{{ .Permalink }}</guid> |
||||||
|
<description>{{ printf `<![CDATA[%s]]>` .Params.description | safeHTML }}</description> |
||||||
|
<content:encoded type="html">{{ printf `<![CDATA[%s]]>` .Content | safeHTML }}</content:encoded> |
||||||
|
</item> |
||||||
|
{{ end }} |
||||||
|
</channel> |
||||||
|
</rss> |
@ -0,0 +1,166 @@ |
|||||||
|
{{ define "main" }} |
||||||
|
<main class="post"> |
||||||
|
|
||||||
|
<div class="post-info"> |
||||||
|
<p> |
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" |
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" |
||||||
|
class="feather feather-clock"> |
||||||
|
<circle cx="12" cy="12" r="10"></circle> |
||||||
|
<polyline points="12 6 12 12 16 14"></polyline> |
||||||
|
</svg> |
||||||
|
{{ i18n "readingTime" .Page.ReadingTime }} |
||||||
|
|
||||||
|
{{- if .IsTranslated }} | {{ i18n "postAvailable" }} |
||||||
|
{{- range .Translations }} |
||||||
|
<a href="{{ .Permalink }}"><span |
||||||
|
class="flag flag-icon flag-icon-{{ index $.Site.Data.langFlags (.Lang) }} flag-icon-squared"></span></a> |
||||||
|
{{- end}} |
||||||
|
{{- end }} |
||||||
|
</p> |
||||||
|
</div> |
||||||
|
|
||||||
|
<article> |
||||||
|
<h1 class="post-title"> |
||||||
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a> |
||||||
|
</h1> |
||||||
|
{{- with .Params.Subtitle }} |
||||||
|
<p class="post-subtitle">{{ . | markdownify }}</p> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
{{- if .Params.toc }} |
||||||
|
<hr /> |
||||||
|
<aside id="toc"> |
||||||
|
<div class="toc-title">{{ i18n "tableOfContents" }}</div> |
||||||
|
{{ .TableOfContents }} |
||||||
|
</aside> |
||||||
|
<hr /> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
{{- if .Params.Cover }} |
||||||
|
{{ $img := imageConfig (printf "static/%s" .Params.Cover) }} |
||||||
|
<img src="/{{ .Params.Cover }}" class="post-cover" alt="{{ .Title | plainify | default " " }}" |
||||||
|
width="{{ $img.Width }}" height="{{ $img.Height }}" /> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
<div class="post-content"> |
||||||
|
{{ .Content }} |
||||||
|
</div> |
||||||
|
</article> |
||||||
|
|
||||||
|
<hr /> |
||||||
|
|
||||||
|
<div class="post-info"> |
||||||
|
{{- with .Params.tags }} |
||||||
|
<p> |
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" |
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" |
||||||
|
class="feather feather-tag meta-icon"> |
||||||
|
<path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path> |
||||||
|
<line x1="7" y1="7" x2="7" y2="7"></line> |
||||||
|
</svg> |
||||||
|
|
||||||
|
{{- range . -}} |
||||||
|
<span class="tag"><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}/">{{.}}</a></span> |
||||||
|
{{- end }} |
||||||
|
</p> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
<p> |
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" |
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" |
||||||
|
class="feather feather-file-text"> |
||||||
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path> |
||||||
|
<polyline points="14 2 14 8 20 8"></polyline> |
||||||
|
<line x1="16" y1="13" x2="8" y2="13"></line> |
||||||
|
<line x1="16" y1="17" x2="8" y2="17"></line> |
||||||
|
<polyline points="10 9 9 9 8 9"></polyline> |
||||||
|
</svg> |
||||||
|
{{ i18n "wordCount" .Page.WordCount }} |
||||||
|
</p> |
||||||
|
|
||||||
|
<p> |
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" |
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" |
||||||
|
class="feather feather-calendar"> |
||||||
|
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect> |
||||||
|
<line x1="16" y1="2" x2="16" y2="6"></line> |
||||||
|
<line x1="8" y1="2" x2="8" y2="6"></line> |
||||||
|
<line x1="3" y1="10" x2="21" y2="10"></line> |
||||||
|
</svg> |
||||||
|
{{- if .Site.Params.dateformNumTime }} |
||||||
|
{{ dateFormat .Site.Params.dateformNumTime .Date.Local }} |
||||||
|
{{- else }} |
||||||
|
{{ dateFormat "2006-01-02 15:04 -0700" .Date.Local }} |
||||||
|
{{- end }} |
||||||
|
</p> |
||||||
|
|
||||||
|
{{- if .GitInfo }} |
||||||
|
<p> |
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" |
||||||
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" |
||||||
|
class="feather feather-git-commit"> |
||||||
|
<circle cx="12" cy="12" r="4"></circle> |
||||||
|
<line x1="1.05" y1="12" x2="7" y2="12"></line> |
||||||
|
<line x1="17.01" y1="12" x2="22.96" y2="12"></line> |
||||||
|
</svg> |
||||||
|
|
||||||
|
<a href="{{ .Site.Params.gitUrl -}}{{ .GitInfo.Hash }}" target="_blank" |
||||||
|
rel="noopener">{{ .GitInfo.AbbreviatedHash }}</a> |
||||||
|
{{- " @ " -}} |
||||||
|
{{- if .Site.Params.dateformNum -}} |
||||||
|
{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }} |
||||||
|
{{- else -}} |
||||||
|
{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }} |
||||||
|
{{- end }} |
||||||
|
</p> |
||||||
|
{{- end }} |
||||||
|
</div> |
||||||
|
|
||||||
|
{{- if .Site.Params.EnableSharingButtons }} |
||||||
|
<hr /> |
||||||
|
<div class="sharing-buttons"> |
||||||
|
{{ partial "sharing-buttons.html" . }} |
||||||
|
</div> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
{{- if and (not $.Site.Params.DisableReadOtherPosts) (or .NextInSection .PrevInSection) }} |
||||||
|
<div class="pagination"> |
||||||
|
<div class="pagination__title"> |
||||||
|
<span class="pagination__title-h">{{ .Site.Params.ReadOtherPosts }}</span> |
||||||
|
<hr /> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="pagination__buttons"> |
||||||
|
{{- if .NextInSection }} |
||||||
|
<span class="button previous"> |
||||||
|
<a href="{{ .NextInSection.Permalink }}"> |
||||||
|
<span class="button__icon">←</span> |
||||||
|
<span class="button__text">{{ .NextInSection.Title }}</span> |
||||||
|
</a> |
||||||
|
</span> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
{{- if .PrevInSection }} |
||||||
|
<span class="button next"> |
||||||
|
<a href="{{ .PrevInSection.Permalink }}"> |
||||||
|
<span class="button__text">{{ .PrevInSection.Title }}</span> |
||||||
|
<span class="button__icon">→</span> |
||||||
|
</a> |
||||||
|
</span> |
||||||
|
{{- end }} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
|
||||||
|
{{- if .Site.DisqusShortname }} |
||||||
|
{{- if not (eq .Params.Comments "false") }} |
||||||
|
<div id="comments"> |
||||||
|
{{ template "_internal/disqus.html" . }} |
||||||
|
</div> |
||||||
|
{{- end }} |
||||||
|
{{- end }} |
||||||
|
|
||||||
|
</main> |
||||||
|
{{ end }} |