Browse Source

Japanese auto-translations V1

master
Jon Kelbie 5 months ago
parent
commit
bf8192cb89
  1. 7
      themes/nipponalba/layouts/_default/single.jp.html
  2. 4
      themes/nipponalba/layouts/index.jp.html

7
themes/nipponalba/layouts/_default/single.jp.html

@ -36,8 +36,8 @@
<hr/>
<section id="interactions"><h4>インタラクション</h4>
<section id="interactions_intro">このサイトでの交流は、Fediverseのアプリや<a href="https://indieweb.org/Webmention" title="Webmention is a web standard for mentions and conversations across the web, a powerful building block that is used for a growing federated network of comments, likes, reposts, and other rich interactions across the decentralized social web." class="u-url" target="_blank">webmentions</a>で可能です。 または<a href="https://matrix.to/#/@jon:kelbie.scot" class="u-url" target="_blank">matrix</a><a href="mailto:jon@kelbie.scot" class="u-url">メール</a>でご連絡ください。<br/><br/>
<label for="toggle_comments" id="comments_label">コメント</label> | <label for="toggle_webmentions" id="webmentions_label">Webmentions</label></section>
<input type="radio" name="interactions" id="toggle_comments" checked="checked"><input type="radio" name="interactions" id="toggle_webmentions">
<label for="toggle_fediverse" id="fediverse_label">Fediverseのコメント</label> | <label for="toggle_webmentions" id="webmentions_label">Webmentions</label></section>
<input type="radio" name="interactions" id="toggle_fediverse" checked="checked"><input type="radio" name="interactions" id="toggle_webmentions">
<section id="webmentions_frame"><section id="webmention-form">
<form action="https://webmention.io/jon.kelbie.scot/webmention" method="post">
<label>この{{ .Type }}をあなたのウェブサイトで紹介しましたか?ここにあなたの記事のURLを入れてください。</label><br/>
@ -62,6 +62,9 @@
{{ end }}</section>
<h4>Comments & Replies</h4>{{ partial "webmention.html" $mentions }}
</section>{{ end }}</section>
<section id="fediverse_frame"><div>
<mastodon-comments host="gts.kelbie.scot" user="jon" tootId="{{ substr .Params.gtsurl 38}}"></mastodon-comments>
</div>
</section>
</article>
{{ else if eq .Type "bookmarkof" }}

4
themes/nipponalba/layouts/index.jp.html

@ -6,7 +6,7 @@
<p>また、私の更新情報をご覧になりたい方は、上部のフィードリンクをクリックして、お好みのフィードリンクをお好みのRSSリーダーにコピーしてください。<a href="https://www.asobou.co.jp/blog/life/rss-2" target="_blank">RSSが何か分からない場合は?</a></p>
</section>
<section class="h-feed">
<!--<section class="latest_note" style="display:none;"><h2>最新のノート</h2>
<section class="latest_note" style="display:none;"><h2>最新のノート</h2>英語版のノートは、2023年12月8日現在、<a href="https://www.deepl.com/translator" target="_blank">DeepL</a>によって自動翻訳されている。
{{ range (first 1 (where .Site.RegularPages "Type" "=" "note")) }}
<article class="index-note h-entry entry">
<section class="author" style="display:none;">
@ -18,7 +18,7 @@
<span class="categories_span">{{ with .Page.Params.category }}カテゴリー: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a></span><br/>
</section>
</article> {{ end }}
</section> -->
</section>
<h2>日本への移住チェックリスト - 引っ越し代が安い</h2>
<article class="index-note h-entry entry">
<section class="checklist">

Loading…
Cancel
Save