Creates a working configuration for the site. The writeups directory lists the different ctfs and each ctfs list every challenge inside of it. Also adds two ctfs to the writeups used to setup the site.
57 lines
1.9 KiB
HTML
57 lines
1.9 KiB
HTML
{{ define "title" }}
|
|
{{ .Title }} · {{ .Site.Title }}
|
|
{{ end }}
|
|
{{ define "content" }}
|
|
<section class="container post">
|
|
<article>
|
|
<header>
|
|
<div class="post-title">
|
|
<h1 class="title">
|
|
<a class="title-link" href="{{ .Permalink | safeURL }}">
|
|
{{ .Title }}
|
|
</a>
|
|
</h1>
|
|
</div>
|
|
<div class="post-meta">
|
|
<div class="date">
|
|
<span class="posted-on">
|
|
<i class="fa-solid fa-calendar" aria-hidden="true"></i>
|
|
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
{{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
|
|
</time>
|
|
</span>
|
|
<span class="reading-time">
|
|
<i class="fa-solid fa-clock" aria-hidden="true"></i>
|
|
{{ i18n "reading_time" .ReadingTime }}
|
|
</span>
|
|
</div>
|
|
{{ with .GetTerms "authors" }}{{ partial "taxonomy/authors.html" . }}{{ end }}
|
|
{{ with .GetTerms "categories" }}{{ partial "taxonomy/categories.html" . }}{{ end }}
|
|
{{ with .GetTerms "tags" }}{{ partial "taxonomy/tags.html" . }}{{ end }}
|
|
</div>
|
|
</header>
|
|
|
|
<div class="post-content">
|
|
{{ if .Params.featuredImage }}
|
|
<img src="{{ .Params.featuredImage | relURL }}" alt="Featured image"/>
|
|
{{ end }}
|
|
{{ .Content }}
|
|
</div>
|
|
|
|
|
|
<footer>
|
|
{{ partial "posts/series.html" . }}
|
|
{{ partial "posts/disqus.html" . }}
|
|
{{ partial "posts/commento.html" . }}
|
|
{{ partial "posts/utterances.html" . }}
|
|
{{ partial "posts/giscus.html" . }}
|
|
{{ partial "posts/mastodon.html" . }}
|
|
{{ partial "posts/telegram.html" . }}
|
|
{{ partial "posts/cusdis.html" . }}
|
|
</footer>
|
|
</article>
|
|
|
|
{{ partial "posts/math.html" . }}
|
|
</section>
|
|
{{ end }}
|