Merge branch 'master' into schema-fix
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{{- $content := .Content -}}
|
||||
|
||||
{{- if ne "" $content -}}
|
||||
|
||||
{{- if .Ruby -}}
|
||||
{{- $content = partial "function/ruby.html" $content -}}
|
||||
{{- end -}}
|
||||
@@ -16,4 +18,6 @@
|
||||
|
||||
{{- $content = partial "function/escape.html" $content -}}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
{{- return $content -}}
|
||||
|
||||
@@ -175,9 +175,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{{- if .Site.Params.search.enable -}}
|
||||
<div class="search-dropdown desktop">
|
||||
<div id="search-dropdown-desktop"></div>
|
||||
</div>
|
||||
<div class="search-dropdown mobile">
|
||||
<div id="search-dropdown-mobile"></div>
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
{{- .Page.Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" -}}
|
||||
</pubDate>
|
||||
<author>
|
||||
{{- .params.author | default (T "author") -}}
|
||||
{{- $params.author | default (T "author") -}}
|
||||
</author>
|
||||
<guid>
|
||||
{{- .Page.Permalink -}}
|
||||
@@ -33,4 +33,4 @@
|
||||
{{- $content | replaceRE `<figure[^>]*>.*</figure>` "" | replaceRE `<img[^>]*( /)?>` "" | safeHTML -}}
|
||||
{{- "]]>" | safeHTML -}}
|
||||
</description>
|
||||
</item>
|
||||
</item>
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
{{- end -}}
|
||||
</span>
|
||||
</div>
|
||||
{{- with $params.license | string -}}
|
||||
<div class="post-info-license">
|
||||
{{- with $params.license | string -}}
|
||||
<span>
|
||||
{{- . | safeHTML -}}
|
||||
</span>
|
||||
{{- end -}}
|
||||
<span>
|
||||
{{- . | safeHTML -}}
|
||||
</span>
|
||||
</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div class="post-info-line">
|
||||
<div class="post-info-md">
|
||||
|
||||
Reference in New Issue
Block a user