Merge pull request #88 from liuboaibc/update/change-permalink

change permalink
This commit is contained in:
pengfei 2020-06-24 11:00:53 +08:00 committed by GitHub
commit bf1576554a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 16 deletions

View File

@ -11,7 +11,7 @@
.join-div {
padding: 10px 0;
background-image: linear-gradient(to left, #e7d44e 100%, #ecaf24 0%);
background-image: linear-gradient(to left, #e7d44e, #ecaf24);
.content {
position: relative;
width: 900px;
@ -112,12 +112,16 @@
padding-bottom: 40px;
}
.menu-span {
display: inline-block;
vertical-align: middle;
}
.menu-span::after {
display: inline-block;
vertical-align: top;
vertical-align: middle;
content: '';
margin-left: 5px;
margin-top: 10px;
border: 4px solid transparent;
border-top-color: #fff;
}
@ -205,10 +209,9 @@
span::after {
display: inline-block;
vertical-align: top;
vertical-align: middle;
content: '';
margin-left: 5px;
margin-top: 6px;
border: 4px solid transparent;
border-top-color: #fff;
}

View File

@ -3,10 +3,10 @@
{{- partial "head.html" . -}}
{{ $style := resources.Get "scss/content.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "scss/markdown.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<body>
{{- partial "header.html" . -}}

View File

@ -3,10 +3,10 @@
{{- partial "head.html" . -}}
{{ $style := resources.Get "scss/content.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "scss/markdown.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<body>
{{- partial "header.html" . -}}

View File

@ -8,10 +8,10 @@
<link rel="stylesheet" href="/fonts/Roboto/stylesheet.css">
{{ $style := resources.Get "scss/docs.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "scss/reset.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>

View File

@ -8,10 +8,10 @@
<link rel="stylesheet" href="/fonts/Roboto/stylesheet.css">
{{ $style := resources.Get "scss/doc.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ $style := resources.Get "scss/reset.scss" | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<script src="{{ "js/jquery-3.5.0.min.js" | relURL }}"></script>
</head>
<body>

View File

@ -3,7 +3,7 @@
<link rel="stylesheet" href="/css/jquery.modal.min.css">
{{ $common := resources.Get "scss/common.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $common.Permalink }}">
<link rel="stylesheet" href="{{ $common.RelPermalink }}">
{{ if .Params.minCss }}
{{ range (split .Params.minCss ",")}}
@ -13,12 +13,12 @@
{{ if .Params.css}}
{{ $style := resources.Get .Params.css | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ end }}
{{ if strings.HasSuffix .Permalink "404.html" }}
{{ $style := resources.Get "scss/404.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ end }}