Framework pour créer son site web en 2 minutes, et en Markdown!
https://www.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.4 KiB
59 lines
1.4 KiB
{{ define "head" }}
|
|
{{ partial "head-meta" . }}
|
|
|
|
{{ with .Param "featureImage" }}
|
|
<style type="text/css">
|
|
.feature-image {
|
|
/* background-image: url("{{ . | absURL | safeCSS}}"); */
|
|
background-image: url('{{ "images/unix.jpg" | absURL }}');
|
|
height: 500px;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.feature-image {
|
|
height: 350px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.feature-image {
|
|
height: 250px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.feature-image {
|
|
height: 200px;
|
|
}
|
|
}
|
|
</style>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ define "title" }}
|
|
{{ .Title }} | {{ .Site.Title }}
|
|
{{ end }}
|
|
{{ define "header" }}
|
|
<header class="feature-image d-print-none">
|
|
</header>
|
|
{{ end }}
|
|
{{ define "main" }}
|
|
<div class="container mt-4 post">
|
|
<h1>{{ .Title }}</h1>
|
|
{{ partial "post-meta" . }}
|
|
|
|
<!-- <div class="share-icons d-flex justify-content-center d-print-none">
|
|
{{ partial "share-icons" . }}
|
|
</div> -->
|
|
|
|
<div class="mt-4 mb-4 main-content">
|
|
{{ .Content }}
|
|
|
|
<!-- <div class="share-icons d-flex justify-content-center d-print-none">
|
|
{{ partial "share-icons" . }}
|
|
</div> -->
|
|
</div>
|
|
|
|
<!-- {{ template "_internal/disqus.html" . }} -->
|
|
</div>
|
|
<!-- {{ partial "sidebar" . }} -->
|
|
{{ end }} |