@@ -16,11 +16,19 @@
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
||||
|
||||
{{ $styles := resources.Get "css/styles.css" }}
|
||||
{{ $style := resources.Get "css/styles.css" }}
|
||||
{{ $syntax := resources.Get "css/syntax.css" }}
|
||||
{{ $styles := slice $styles $syntax | resources.Concat "css/bundle.css" | minify | fingerprint }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" />
|
||||
{{ $bundle := slice $style $syntax
|
||||
| resources.Concat "css/bundle.css"
|
||||
| minify
|
||||
| fingerprint
|
||||
}}
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="{{ $bundle.RelPermalink }}"
|
||||
integrity="{{ $bundle.Data.Integrity }}">
|
||||
|
||||
|
||||
{{ block "head" . }}{{ end }}
|
||||
</head>
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
{{ 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;
|
||||
|
||||
@@ -14,24 +8,6 @@
|
||||
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 }}
|
||||
|
||||
Reference in New Issue
Block a user