Merge remote-tracking branch 'upstream/master' into hmsy
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<a href="{{ .Permalink }}" class="card blog-card bc-next" rel="bookmark" >
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)"
|
||||
href="{{ .Permalink }}" class="card blog-card bc-next" rel="bookmark" >
|
||||
{{ with .Resources.GetMatch "featuredImage" }}
|
||||
<div class="card-img-container">
|
||||
<p class="card-img-overlay">下一篇文章</p>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<a href="{{ .Permalink }}" class="card blog-card" rel="bookmark" >
|
||||
<a ontouchstart="cardPressed.call(this)" ontouchend="cardReleased.call(this)" ontouchmove="cardReleased.call(this)"
|
||||
href="{{ .Permalink }}" class="card blog-card" rel="bookmark" >
|
||||
{{ with .Resources.GetMatch "featuredImage" }}
|
||||
<div class="card-img-container">
|
||||
<picture>
|
||||
|
||||
@@ -22,9 +22,8 @@
|
||||
{{ if (fileExists "layouts/partials/meta-tags.html") -}}
|
||||
{{ partial "meta-tags.html" . }}
|
||||
{{ end -}}
|
||||
{{ with resources.Get "css/katex.css" -}}
|
||||
{{ $katexcss := resources.Get "css/katex.css" | minify }}
|
||||
<link href="{{ $katexcss.Permalink }}" rel="stylesheet">
|
||||
{{ with resources.Get "css/katex.min.css" -}}
|
||||
<link href="{{ .Permalink }}" rel="stylesheet">
|
||||
{{ end -}}
|
||||
{{ $normalizeStyle := resources.Get "css/normalize.css" }}
|
||||
{{ $mainStyle := resources.Get "css/style.css" }}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<a
|
||||
href="{{ .Site.BaseURL }}" class="card home-card" style="background-image: url({{if isset .Site.Params "homeimg"}} {{ (resources.Get .Site.Params.homeimg).Permalink | safeCSS }} {{ else }} {{ (resources.Get "img/grey-cloud.jpg").Permalink | safeCSS }} {{ end }})" rel="bookmark" >
|
||||
Home
|
||||
</a>
|
||||
@@ -1,10 +1,8 @@
|
||||
{{ with resources.Get "js/katex.js" }}
|
||||
{{ $katexjs := resources.Get "js/katex.js" | minify }}
|
||||
<script defer src="{{ $katexjs.Permalink }}"></script>
|
||||
{{ with resources.Get "js/katex.min.js" }}
|
||||
<script defer src="{{ .Permalink }}"></script>
|
||||
{{ end }}
|
||||
{{ with resources.Get "js/auto-render.js" }}
|
||||
{{ $autorenderjs := resources.Get "js/auto-render.js" | minify }}
|
||||
<script defer src="{{ $autorenderjs.Permalink }}" onload="renderMathInElement(document.body);"></script>
|
||||
{{ with resources.Get "js/auto-render.min.js" }}
|
||||
<script defer src="{{ .Permalink }}" onload="renderMathInElement(document.body);"></script>
|
||||
{{ end }}
|
||||
{{ $corejs := resources.Get "js/core.js" | minify }}
|
||||
<script src="{{ $corejs.Permalink }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user