mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
change permalink to relpermalink
This commit is contained in:
parent
bbc9b04cb4
commit
4d42e1f8ba
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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" . -}}
|
||||
|
|
|
|||
|
|
@ -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" . -}}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 }}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue