mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
change file path
This commit is contained in:
parent
3487692745
commit
13b91892a9
|
|
@ -387,18 +387,17 @@ body {
|
|||
.content-div {
|
||||
.md-body {
|
||||
font-size: 16px;
|
||||
line-height: 2.29;
|
||||
line-height: 1.71;
|
||||
color: #36435c;
|
||||
}
|
||||
|
||||
.md-body h2 {
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
line-height: 64px;
|
||||
line-height: 40px;
|
||||
color: #171c34;
|
||||
text-shadow: none;
|
||||
text-align: left;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.md-body h3 {
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@
|
|||
.md-body h4,
|
||||
.md-body h5,
|
||||
.md-body h6 {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 600;
|
||||
line-height: 1.5;
|
||||
color: #171c34;
|
||||
|
|
@ -170,7 +170,6 @@
|
|||
text-align: center;
|
||||
color: #171c34;
|
||||
text-shadow: 0 4px 8px rgba(35, 45, 65, 0.1);
|
||||
margin-bottom: 60px;
|
||||
|
||||
@media only screen and (max-width: $mobile-max-width) {
|
||||
margin-bottom: 20px;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
- id: Read More
|
||||
translation: Read More
|
||||
- id: We can’t find the page that you’re looking for :(
|
||||
translation: We can’t find the page that you’re looking for :(
|
||||
translation: 没有你想找的页面 :(
|
||||
- id: Go To Home
|
||||
translation: 返回首页
|
||||
- id: icon
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@
|
|||
<script src='{{ "js/aside.js" | relURL }}'></script>
|
||||
{{ end }}
|
||||
<script>
|
||||
var languageCode = '{{.Site.Language.Lang}}'
|
||||
var filePath = '{{ .File.Path }}'
|
||||
// var filePath = 'README.md'
|
||||
|
||||
|
|
@ -163,7 +164,7 @@
|
|||
return arr
|
||||
}
|
||||
var getFileContributors = function() {
|
||||
var url = 'https://api.github.com/repos/kubesphere/website/commits?path=' + filePath
|
||||
var url = 'https://api.github.com/repos/kubesphere/website/commits?path=content/' + languageCode + '/' + filePath
|
||||
$.getJSON(url, function(data) {
|
||||
if (!data || data.length === 0) {
|
||||
$('.contributor-div').hide()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</li>
|
||||
{{ else}}
|
||||
<li>
|
||||
<a href="{{ .p1.Permalink }}">{{ .p1.LinkTitle }} / </a>
|
||||
<a href="{{ .p1.Permalink }}">{{ .p1.LinkTitle }} / </a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue