mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-01-24 01:06:11 +01:00
Merge pull request #46 from dillonzq/feature/local_fork_awesome
feat(css): add local fork-awesome css
This commit is contained in:
commit
44028707af
44 changed files with 2927 additions and 53 deletions
|
@ -1,5 +1,6 @@
|
||||||
fontawesome-free@5.11.2
|
fontawesome-free@5.11.2
|
||||||
|
forkawesome@1.1.7
|
||||||
gittalk@1.5.0
|
gittalk@1.5.0
|
||||||
katex@0.11.1
|
katex@0.11.1
|
||||||
aplayer@1.10.1
|
aplayer@1.10.1
|
||||||
animate.css@3.7.2
|
animate.css@3.7.2
|
||||||
|
|
12
assets/css/lib/forkawesome/fork-awesome.min.css
vendored
Normal file
12
assets/css/lib/forkawesome/fork-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -9,4 +9,4 @@ typeit@6.0.3
|
||||||
jquery-countdown@2.2.0
|
jquery-countdown@2.2.0
|
||||||
aplayer@1.10.1
|
aplayer@1.10.1
|
||||||
meting@2.0.1
|
meting@2.0.1
|
||||||
smooth-scroll@16.1.0
|
smooth-scroll@16.1.0
|
||||||
|
|
|
@ -161,6 +161,7 @@ dateFormatToUse = "2006-01-02"
|
||||||
[params.cdn]
|
[params.cdn]
|
||||||
## for example '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">'
|
## for example '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">'
|
||||||
fontawesome_free_css = ''
|
fontawesome_free_css = ''
|
||||||
|
forkawesome_css = ''
|
||||||
animate_css = ''
|
animate_css = ''
|
||||||
gitalk_css = ''
|
gitalk_css = ''
|
||||||
gitalk_js = ''
|
gitalk_js = ''
|
||||||
|
|
|
@ -161,6 +161,7 @@ dateFormatToUse = "2006-01-02"
|
||||||
[params.cdn]
|
[params.cdn]
|
||||||
## 例如 '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">'
|
## 例如 '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.10.1/css/all.min.css" integrity="sha256-fdcFNFiBMrNfWL6OcAGQz6jDgNTRxnrLEd4vJYFWScE=" crossorigin="anonymous">'
|
||||||
fontawesome_free_css = ''
|
fontawesome_free_css = ''
|
||||||
|
forkawesome_css = ''
|
||||||
animate_css = ''
|
animate_css = ''
|
||||||
gitalk_css = ''
|
gitalk_css = ''
|
||||||
gitalk_js = ''
|
gitalk_js = ''
|
||||||
|
|
|
@ -19,4 +19,4 @@
|
||||||
const errorEmojiContainer = document.getElementById('error-emoji');
|
const errorEmojiContainer = document.getElementById('error-emoji');
|
||||||
errorEmojiContainer.appendChild(document.createTextNode(errorEmoji));
|
errorEmojiContainer.appendChild(document.createTextNode(errorEmoji));
|
||||||
</script>
|
</script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
{{- . -}}
|
{{- . -}}
|
||||||
</figcaption>
|
</figcaption>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</figure>
|
</figure>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>
|
<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>
|
||||||
{{- .Text | safeHTML -}}
|
{{- .Text | safeHTML -}}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -39,4 +39,4 @@
|
||||||
{{- /* Load scripts */ -}}
|
{{- /* Load scripts */ -}}
|
||||||
{{- partial "scripts.html" . -}}
|
{{- partial "scripts.html" . -}}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -25,4 +25,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- partial "paginator.html" . -}}
|
{{- partial "paginator.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -12,4 +12,4 @@
|
||||||
{{- partial "hook/content.html" .Content | safeHTML -}}
|
{{- partial "hook/content.html" .Content | safeHTML -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -61,4 +61,4 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -46,4 +46,4 @@
|
||||||
</content>
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</feed>
|
</feed>
|
||||||
|
|
|
@ -24,4 +24,4 @@
|
||||||
{{- /* Profile */ -}}
|
{{- /* Profile */ -}}
|
||||||
{{- partial "home/profile.html" . -}}
|
{{- partial "home/profile.html" . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -104,4 +104,4 @@
|
||||||
></div>
|
></div>
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://developers.facebook.com/docs/plugins/comments/">comments powered by Facebook.</a></noscript>
|
<noscript>Please enable JavaScript to view the <a href="https://developers.facebook.com/docs/plugins/comments/">comments powered by Facebook.</a></noscript>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -33,4 +33,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -55,15 +55,26 @@
|
||||||
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- /* Font Awesome https://fontawesome.com/ */ -}}
|
||||||
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.fontawesome_free_css -}}
|
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.fontawesome_free_css -}}
|
||||||
{{- .Site.Params.cdn.fontawesome_free_css | safeHTML -}}
|
{{- .Site.Params.cdn.fontawesome_free_css | safeHTML -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $res := resources.Get "css/lib/fontawesome-free/all.min.css" -}}
|
{{- $res := resources.Get "css/lib/fontawesome-free/all.min.css" -}}
|
||||||
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- /* Fork Awesome https://forkaweso.me/ */ -}}
|
||||||
|
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.forkawesome_css -}}
|
||||||
|
{{- .Site.Params.cdn.forkawesome_css | safeHTML -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $res := resources.Get "css/lib/forkawesome/fork-awesome.min.css" -}}
|
||||||
|
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- /* Animate.css https://github.com/daneden/animate.css */ -}}
|
||||||
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.animate_css -}}
|
{{- if eq (getenv "HUGO_ENV") "production" | and .Site.Params.cdn.animate_css -}}
|
||||||
{{- .Site.Params.cdn.animate_css | safeHTML -}}
|
{{- .Site.Params.cdn.animate_css | safeHTML -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ $res := resources.Get "css/lib/animate/animate.min.css" -}}
|
{{ $res := resources.Get "css/lib/animate/animate.min.css" -}}
|
||||||
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $res.RelPermalink }}">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -41,4 +41,4 @@
|
||||||
<a href="javascript:void(0);" class="theme-switch"><i class="fas fa-adjust fa-rotate-180 fa-fw" title="{{ T "switchTheme" }}"></i></a>
|
<a href="javascript:void(0);" class="theme-switch"><i class="fas fa-adjust fa-rotate-180 fa-fw" title="{{ T "switchTheme" }}"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
|
|
||||||
{{- with .Site.Params.Social.Github -}}
|
{{- with .Site.Params.Social.Github -}}
|
||||||
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-github-alt fa-fw" title="Github"></i>
|
<i class="fab fa-github-alt fa-fw" title="Github"></i>
|
||||||
|
@ -225,32 +224,32 @@
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Slideshare}}
|
{{- with .Site.Params.Social.Slideshare}}
|
||||||
<a href="https://slideshare.com/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://slideshare.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-slideshare fa-fw" title="Slideshare"></i>
|
<i class="fab fa-slideshare fa-fw" title="Slideshare"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Jsfiddle}}
|
{{- with .Site.Params.Social.Jsfiddle}}
|
||||||
<a href="https://jsfiddle.com/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://jsfiddle.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-jsfiddle fa-fw" title="Jsfiddle"></i>
|
<i class="fab fa-jsfiddle fa-fw" title="Jsfiddle"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Deviantart}}
|
{{- with .Site.Params.Social.Deviantart}}
|
||||||
<a href="https://{{- . -}}.deviantart.com/" rel="me noopener noreffer" target="_blank">
|
<a href="https://{{ . }}.deviantart.com/" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-deviantart fa-fw" title="Deviantart"></i>
|
<i class="fab fa-deviantart fa-fw" title="Deviantart"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Behance}}
|
{{- with .Site.Params.Social.Behance}}
|
||||||
<a href="https://behance.net/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://behance.net/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-behance fa-fw" title="Behance"></i>
|
<i class="fab fa-behance fa-fw" title="Behance"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Dribble}}
|
{{- with .Site.Params.Social.Dribble}}
|
||||||
<a href="https://dribbble.com/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://dribbble.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-dribbble fa-fw" title="Dribble"></i>
|
<i class="fab fa-dribbble fa-fw" title="Dribble"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Wordpress}}
|
{{- with .Site.Params.Social.Wordpress}}
|
||||||
<a href="https://{{- . -}}.wordpress.com" rel="me noopener noreffer" target="_blank">
|
<a href="https://{{ . }}.wordpress.com" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-wordpress fa-fw" title="Wordpress"></i>
|
<i class="fab fa-wordpress fa-fw" title="Wordpress"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -260,37 +259,32 @@
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Googlescholar}}
|
{{- with .Site.Params.Social.Googlescholar}}
|
||||||
<a href="https://scholar.google.com/citations?{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://scholar.google.com/citations?{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-Googlescholar fa-fw" title="Googlescholar"></i>
|
<i class="fab fa-Googlescholar fa-fw" title="Googlescholar"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Researchgate}}
|
{{- with .Site.Params.Social.Researchgate}}
|
||||||
<a href="https://www.researchgate.net/profile/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://www.researchgate.net/profile/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-researchgate fa-fw" title="Researchgate"></i>
|
<i class="fab fa-researchgate fa-fw" title="Researchgate"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Mastodon}}
|
{{- with .Site.Params.Social.Mastodon}}
|
||||||
<a href="https://mastodon.social/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://mastodon.social/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-mastodon fa-fw" title="Mastodon"></i>
|
<i class="fab fa-mastodon fa-fw" title="Mastodon"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Devto}}
|
{{- with .Site.Params.Social.Devto}}
|
||||||
<a href="https://dev.to/{{- . -}}" rel="me noopener noreffer" target="_blank">
|
<a href="https://dev.to/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-dev fa-fw" title="Dev.To"></i>
|
<i class="fab fa-dev fa-fw" title="Dev.To"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Email}}
|
|
||||||
<a href="mailto:{{ . }}" rel="me noopener noreffer">
|
|
||||||
<i class="far fa-envelope fa-fw" target="_blank" title="Email"></i>
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Site.Params.Social.Gitea}}
|
{{- with .Site.Params.Social.Gitea}}
|
||||||
<a href="" rel="me noopener noreffer" target="_blank">
|
<a href="{{ . | safeURL }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa fa-gitea fa-fw" title="Gitea"></i>
|
<i class="fab fa fa-gitea fa-fw" title="Gitea"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.XMPP}}
|
{{- with .Site.Params.Social.XMPP}}
|
||||||
<a href="xmpp:{{ . }}" rel="me noopener noreffer" target="_blank">
|
<a href="xmpp:{{ . }}" rel="me noopener noreffer">
|
||||||
<i class="fab fa fa-xmpp fa-fw" title="XMPP"></i>
|
<i class="fab fa fa-xmpp fa-fw" title="XMPP"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -299,6 +293,11 @@
|
||||||
<i class="fab fa fa-matrix-org fa-fw" title="Matrix"></i>
|
<i class="fab fa fa-matrix-org fa-fw" title="Matrix"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- with .Site.Params.Social.Email}}
|
||||||
|
<a href="mailto:{{ . }}" rel="me noopener noreffer">
|
||||||
|
<i class="far fa-envelope fa-fw" title="Email"></i>
|
||||||
|
</a>
|
||||||
|
{{- end -}}
|
||||||
{{- with .Site.Params.Social.Custom}}
|
{{- with .Site.Params.Social.Custom}}
|
||||||
{{- . | safeHTML -}}
|
{{- . | safeHTML -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -40,4 +40,4 @@
|
||||||
{{- $REout = `<li $2><p><a class="post-dummy-target" $1></a>` -}}
|
{{- $REout = `<li $2><p><a class="post-dummy-target" $1></a>` -}}
|
||||||
{{- $content = replaceRE $REin $REout $content -}}
|
{{- $content = replaceRE $REin $REout $content -}}
|
||||||
|
|
||||||
{{- return $content -}}
|
{{- return $content -}}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{{- /* Lazyload */ -}}
|
{{- /* Lazyload */ -}}
|
||||||
{{- $res := resources.Get "svg/loading.svg" | minify -}}
|
{{- $res := resources.Get "svg/loading.svg" | minify -}}
|
||||||
<img src="{{ $res.RelPermalink | safeURL }}" data-sizes="auto" data-src="{{ . | safeURL }}" alt="featured image" class="lazyload">
|
<img src="{{ $res.RelPermalink | safeURL }}" data-sizes="auto" data-src="{{ . | safeURL }}" alt="featured image" class="lazyload">
|
||||||
|
|
|
@ -27,4 +27,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ul>
|
</ul>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -60,4 +60,4 @@
|
||||||
<a href="{{ .NextInSection.Permalink }}" class="next" rel="next" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}<i class="fas fa-angle-right fa-fw"></i></a>
|
<a href="{{ .NextInSection.Permalink }}" class="next" rel="next" title="{{ .NextInSection.Title }}">{{ .NextInSection.Title }}<i class="fas fa-angle-right fa-fw"></i></a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -68,4 +68,4 @@
|
||||||
<i class="fab fa-weibo fa-fw"></i>
|
<i class="fab fa-weibo fa-fw"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -221,4 +221,4 @@
|
||||||
|
|
||||||
{{- /* Blog script */ -}}
|
{{- /* Blog script */ -}}
|
||||||
{{- $res := resources.Get "/js/blog.js" | minify -}}
|
{{- $res := resources.Get "/js/blog.js" | minify -}}
|
||||||
<script src="{{ $res.RelPermalink }}"></script>
|
<script src="{{ $res.RelPermalink }}"></script>
|
||||||
|
|
|
@ -91,4 +91,4 @@
|
||||||
"description": "{{ .Description }}"
|
"description": "{{ .Description }}"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -86,4 +86,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -59,4 +59,4 @@
|
||||||
</item>
|
</item>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|
|
@ -51,4 +51,4 @@
|
||||||
{{- .Inner -}}
|
{{- .Inner -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
<!-- [left, center, right] -->
|
<!-- [left, center, right] -->
|
||||||
<div class={{ .Get 0 | printf "align-%s" }}>
|
<div class={{ .Get 0 | printf "align-%s" }}>
|
||||||
{{- .Inner -}}
|
{{- .Inner -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<iframe src="//player.bilibili.com/player.html?aid={{ .Get 0 }}&cid={{ .Get 1 }}&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
<iframe src="//player.bilibili.com/player.html?aid={{ .Get 0 }}&cid={{ .Get 1 }}&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
{{- .Page.Scratch.Set "countdownMap" $new -}}
|
{{- .Page.Scratch.Set "countdownMap" $new -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<div id="{{ $id }}" style={{ .Get "style" | safeCSS }}></div>
|
<div id="{{ $id }}" style={{ .Get "style" | safeCSS }}></div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
{{ $echartsMap = .Inner | printf "{%s}" | dict $id -}}
|
{{ $echartsMap = .Inner | printf "{%s}" | dict $id -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- .Page.Scratch.Set "echartsMap" $echartsMap -}}
|
{{- .Page.Scratch.Set "echartsMap" $echartsMap -}}
|
||||||
<div class="echarts" id="{{ $id }}"></div>
|
<div class="echarts" id="{{ $id }}"></div>
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
<!-- [left, right] -->
|
<!-- [left, right] -->
|
||||||
<div class={{ .Get 0 | printf "float-%s" }}>
|
<div class={{ .Get 0 | printf "float-%s" }}>
|
||||||
{{- .Inner -}}
|
{{- .Inner -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
{{- $mermaidMap = trim .Inner "\n" | dict $id -}}
|
{{- $mermaidMap = trim .Inner "\n" | dict $id -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- .Page.Scratch.Set "mermaidMap" $mermaidMap -}}
|
{{- .Page.Scratch.Set "mermaidMap" $mermaidMap -}}
|
||||||
<div class="mermaid" id="{{ $id }}"></div>
|
<div class="mermaid" id="{{ $id }}"></div>
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
></meting-js>
|
></meting-js>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<meting-js server="{{ .Get 0 }}" type="{{ .Get 1 }}" id="{{ .Get 2 }}" theme="#A9A9B3"></meting-js>
|
<meting-js server="{{ .Get 0 }}" type="{{ .Get 1 }}" id="{{ .Get 2 }}" theme="#A9A9B3"></meting-js>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -38,4 +38,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</url>
|
</url>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
|
@ -32,4 +32,4 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- partial "paginator.html" . -}}
|
{{- partial "paginator.html" . -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -54,4 +54,4 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
BIN
static/css/lib/fonts/forkawesome-webfont.eot
Normal file
BIN
static/css/lib/fonts/forkawesome-webfont.eot
Normal file
Binary file not shown.
2849
static/css/lib/fonts/forkawesome-webfont.svg
Normal file
2849
static/css/lib/fonts/forkawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 470 KiB |
BIN
static/css/lib/fonts/forkawesome-webfont.ttf
Normal file
BIN
static/css/lib/fonts/forkawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
static/css/lib/fonts/forkawesome-webfont.woff
Normal file
BIN
static/css/lib/fonts/forkawesome-webfont.woff
Normal file
Binary file not shown.
BIN
static/css/lib/fonts/forkawesome-webfont.woff2
Normal file
BIN
static/css/lib/fonts/forkawesome-webfont.woff2
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue