misp-website/layouts/_default/single.html

93 lines
3.0 KiB
HTML
Raw Normal View History

2021-12-24 08:01:23 +01:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "headers.html" . }}
{{ partial "custom_headers.html" . }}
</head>
<body>
<div id="all">
{{ partial "top.html" . }}
2021-12-24 08:01:23 +01:00
{{ partial "nav.html" . }}
{{ partial "breadcrumbs.html" . }}
<div id="content">
<div class="container">
<div class="row">
<!-- *** LEFT COLUMN *** -->
<div class="col-md-9" id="blog-post">
{{ if or .Params.author .Params.date }}
<p class="text-muted text-uppercase mb-small text-right">
{{ if isset .Params "authors" }}
{{ i18n "authorBy" }} {{ range $index, $author := .Params.authors }}{{ if $index }}, {{ end }}<a href="{{ (printf "%s/%s" ("authors" | relLangURL) ($author | urlize)) }}">{{ $author }}</a>{{ end }}
{{ end }}
{{ if and .Params.author .Params.date }} | {{ end }}
{{ if .Params.date }}
{{ $createdAt := .Date.Format .Site.Params.date_format }}
{{ range $index, $month := slice "January" "February" "March" "April" "May" "June" "July" "August" "September" "October" "November" "December" }}
{{ $createdAt = replace $createdAt $month (i18n $month) }}
{{ end }}
{{ $createdAt }}
{{ end }}
</p>
{{ end }}
{{ if isset .Params "banner" }}
<img src="{{ .Params.banner | relURL }}" class="img-responsive" alt="" >
{{ end }}
<div id="post-content">
{{ .Content }}
</div>
<!-- /#post-content -->
{{ if .Site.DisqusShortname }}
<div id="comments">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}
</div>
<!-- /#blog-post -->
<!-- *** LEFT COLUMN END *** -->
<!-- *** RIGHT COLUMN *** -->
<div class="col-md-3">
<!-- *** MENUS AND WIDGETS *** -->
{{ partial "sidebar.html" . }}
<!-- *** MENUS AND FILTERS END *** -->
</div>
<!-- /.col-md-3 -->
<!-- *** RIGHT COLUMN END *** -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#content -->
{{ partial "footer.html" . }}
</div>
<!-- /#all -->
{{ partial "scripts.html" . }}
</body>
</html>