Add new logo images in WebP format for Hungarian localization
- Added logo_hu_9f5863dc2c180619.webp - Added logo_hu_a5cb593b87668c25.webp
This commit is contained in:
@@ -48,8 +48,8 @@
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
{{ partial "series.html" . }}
|
||||
{{ partial "share-buttons" . }}
|
||||
{{ partial "cite" . }}
|
||||
{{- partial "syndication.html" . -}}
|
||||
{{- partial "comments.html" . -}}
|
||||
</article>
|
||||
|
||||
28
layouts/partials/cite.html
Normal file
28
layouts/partials/cite.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<details>
|
||||
<summary>Reference this post</summary>
|
||||
<p id="cite">Please reference this post with a link to this page. I prefer to be called <i>Fundor333</i> (he/him) or <i>Fundor333' Blog</i>.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://fundor333.com/cite">Learn more</a>
|
||||
</p>
|
||||
<label>URL for this post: <input disabled style="cursor: text;" type="text" value="{{ .Page.Permalink }}" id="citeInput">
|
||||
<button onclick="myFunction()">Copy text</button>
|
||||
</label>
|
||||
</details>
|
||||
|
||||
<script>
|
||||
function myFunction() {
|
||||
// Get the text field
|
||||
var copyText = document.getElementById("citeInput");
|
||||
|
||||
// Select the text field
|
||||
copyText.select();
|
||||
copyText.setSelectionRange(0, 99999); // For mobile devices
|
||||
|
||||
// Copy the text inside the text field
|
||||
navigator.clipboard.writeText(copyText.value);
|
||||
|
||||
// Alert the copied text
|
||||
alert("Copied the text!" );
|
||||
}
|
||||
</script>
|
||||
1
layouts/shortcodes/embed.html
Normal file
1
layouts/shortcodes/embed.html
Normal file
@@ -0,0 +1 @@
|
||||
<iframe src="{{ .Get 0 }}" width="{{ .Get 1 }}%" height="{{ .Get 2 }}"> </iframe>
|
||||
@@ -1,17 +1,16 @@
|
||||
{{ $url := "https://appletune.fundor333.com/api/blogrollgroup/?format=json" }}
|
||||
{{ $url := "https://appletune.fundor333.com/api/blogrollgroup/?format=json" }}
|
||||
|
||||
{{ with resources.GetRemote $url }}
|
||||
{{- $content := .Content | transform.Unmarshal -}}
|
||||
|
||||
{{- range $content -}}
|
||||
<h2>{{ .name }}</h2>
|
||||
<ul>
|
||||
<h2>{{ .name }}</h2>
|
||||
<ul class="h-entry">
|
||||
{{- range .rows }}
|
||||
<li><a href='{{.url}}'>{{.name}}</a> {{ with .feed_url }} (<a href='{{ . }}'>feed</a>)</li> {{ end }}
|
||||
<li><a class="u-bookmark-of" href='{{.url}}'>{{.name}}</a> {{ with .feed_url }} (<a href='{{ . }}'>feed</a>)</li> {{ end }}
|
||||
|
||||
{{ end}}
|
||||
</ul>
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
{{ $url := "https://appletune.fundor333.com/api/podrollgroup/?format=json" }}
|
||||
{{ $url := "https://appletune.fundor333.com/api/podrollgroup/?format=json" }}
|
||||
|
||||
{{ with resources.GetRemote $url }}
|
||||
{{- $content := .Content | transform.Unmarshal -}}
|
||||
|
||||
{{- range $content -}}
|
||||
<h2>{{ .name }}</h2>
|
||||
<ul>
|
||||
<h2>{{ .name }}</h2>
|
||||
<ul class="h-entry">
|
||||
{{- range .rows }}
|
||||
<li><a href='{{.url}}'>{{.name}}</a> {{ with .feed_url }} (<a href='{{ . }}'>feed</a>)</li> {{ end }}
|
||||
<li><a class="u-bookmark-of" href='{{.url}}'>{{.name}}</a> {{ with .feed_url }} (<a href='{{ . }}'>feed</a>)</li> {{ end }}
|
||||
|
||||
{{ end}}
|
||||
</ul>
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user