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.
 
 
 
hugo-site/layouts/_default/single.html

51 lines
1.0 KiB

{{ define "head" }}
<style type="text/css">
/* .feature-image {
background-image: url("{{ . | absURL | safeCSS}}");
background-image: url('{{ "../images/unix.jpg" | absURL }}');
height: 500px;
} */
p {
text-align: center;
}
img {
max-width: 95%
}
/* @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 }}
{{ define "title" }}
{{ .Title }} | {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<div class="container mt-4 post">
<!-- <h1>{{ .Title }}</h1> -->
{{ partial "post-meta" . }}
<div class="mt-4 mb-4 main-content">
{{ .Content }}
</div>
</div>
{{ end }}