mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
Fix metrics link (#244)
Remove stale.html to be compatible with newer hugo versions, couldn't figure out who to quickly update it and it's only used when blogs are marked stale which we never did. Also I usually go back and update config to make it work with latest released coredns - if possible. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
|
||||
<!-- if the post's date is 9 month (-9) in the past pop up a banner
|
||||
that says it may be stale. Only done for posts that are tagged with
|
||||
'stale' tag -->
|
||||
{{ if (.Date) "le" (now.AddDate 0 -9 0) }}
|
||||
|
||||
{{ range .Params.tags }}
|
||||
{{ if eq (lower .) "stale" }}
|
||||
|
||||
<div class="message focus text-center" data-component="message"> <span class="close small"></span>
|
||||
<p>
|
||||
This post is older than nine months.
|
||||
Some examples may not work with the latest CoreDNS version.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
@@ -16,7 +16,7 @@
|
||||
{{ range .Paginator.Pages.ByWeight }} {{ partial "page-summary" . }} {{ end }}
|
||||
<li>
|
||||
<section>{{ partial "pagination" .}}</section>
|
||||
</li>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
</div>
|
||||
<div id="post-box">
|
||||
|
||||
{{ partial "stale.html" . }}
|
||||
|
||||
<div id="post" itemprop="articleBody">
|
||||
|
||||
{{.Content | safeHTML}}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div id="main">
|
||||
<div class="hero">
|
||||
<h1> {{ .Title}} </h1>
|
||||
<i class="fa fa-code-fork" aria-hidden="true"></i> <a href="https://github.com/coredns/coredns/tree/master/plugin/{{.Title }} ">Source</a>
|
||||
<i class="fa fa-code-fork" aria-hidden="true"></i> <a href="https://github.com/coredns/coredns/tree/master/plugin/{{ path.Base .Permalink }} ">Source</a>
|
||||
<p class="hero-lead">
|
||||
{{ .Params.description | markdownify }}
|
||||
</p>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
|
||||
<p>{{ .Params.description | markdownify }}</p>
|
||||
<p>
|
||||
<i class="fa fa-code-fork" aria-hidden="true"></i> <a href="https://github.com/coredns/coredns/tree/master/plugin/{{ .Title }} ">Source</a>
|
||||
<i class="fa fa-code-fork" aria-hidden="true"></i> <a href="https://github.com/coredns/coredns/tree/master/plugin/{{ path.Base .Permalink }} ">Source</a>
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user