forked from TrueCloudLab/dot-hugo
fix some minor bug and improve reliability
This commit is contained in:
parent
e2f2743c26
commit
b937a11e4d
4 changed files with 9 additions and 9 deletions
|
@ -178,8 +178,8 @@ select:focus {
|
|||
}
|
||||
|
||||
.section {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 100px;
|
||||
padding-top: 80px;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ "<!-- faq -->" | safeHTML }}
|
||||
<section class="section">
|
||||
<section class="section pb-0">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{{ "<!-- footer -->" | safeHTML }}
|
||||
<footer class="section pb-0">
|
||||
<footer class="section pb-4">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-8 text-md-left text-center">
|
||||
<p>{{ .Site.Params.copyright | markdownify }}</p>
|
||||
<p class="mb-md-0 mb-4">{{ .Site.Params.copyright | markdownify }}</p>
|
||||
</div>
|
||||
<div class="col-md-4 text-md-right text-center">
|
||||
<ul class="list-inline mb-3">
|
||||
<ul class="list-inline">
|
||||
{{ range .Site.Params.social }}
|
||||
<li class="list-inline-item"><a class="text-color d-inline-block p-2" href="{{ .link | safeURL }}"><i class="{{ .icon }}"></i></a></li>
|
||||
{{ end }}
|
||||
|
|
|
@ -39,9 +39,9 @@
|
|||
{{ $css := resources.Get "css/style.css" }}
|
||||
{{ $css = $css | minify }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $css = $css | minify | resources.PostProcess }}
|
||||
{{ $css = $css | resources.PostProcess }}
|
||||
{{ end }}
|
||||
<link href="{{ $css.RelPermalink }}" rel="stylesheet" media="screen"/>
|
||||
<link href="{{ $css.Permalink }}" rel="stylesheet" media="screen"/>
|
||||
|
||||
{{ "<!-- jquiry -->" | safeHTML }}
|
||||
<script src="{{ `plugins/jquery/jquery-1.12.4.js` | absURL }}"></script>
|
||||
|
|
Loading…
Reference in a new issue