summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-26 15:23:17 +0900
committernsfisis <nsfisis@gmail.com>2025-01-26 15:23:17 +0900
commit9127d1c420420b3c80414d8222840e96e4dd3f18 (patch)
treea804e9f7b3d22c762b1c8abc1be5ba0e0f5b93fa /vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
parentad87bf61edab31921a3ce216225a7a33e2112746 (diff)
downloadnsfisis.dev-9127d1c420420b3c80414d8222840e96e4dd3f18.tar.gz
nsfisis.dev-9127d1c420420b3c80414d8222840e96e4dd3f18.tar.zst
nsfisis.dev-9127d1c420420b3c80414d8222840e96e4dd3f18.zip
feat(blog/nuldoc): add `target=_blank` and `rel=noreferrer` to external links
Diffstat (limited to 'vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html')
-rw-r--r--vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
index f95cdb96..9abb2e7b 100644
--- a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
+++ b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
@@ -163,7 +163,7 @@
</p>
<p>
- このことは、<a href="https://pkg.go.dev/text/template#hdr-Variables"><code>text/template</code> の公式ドキュメント</a>にも以下のように記載されている。
+ このことは、<a href="https://pkg.go.dev/text/template#hdr-Variables" rel="noreferrer" target="_blank"><code>text/template</code> の公式ドキュメント</a>にも以下のように記載されている。
</p>
<blockquote>
@@ -175,11 +175,11 @@
<h2><a href="#section--reference">参考</a></h2>
<ul>
<li>
- <a href="https://stackoverflow.com/questions/14800204/in-a-template-how-do-you-access-an-outer-scope-while-inside-of-a-with-or-rang">直接の出典である Stack Overflow の回答: &quot;In a template how do you access an outer scope while inside of a &quot;with&quot; or &quot;range&quot; scope?&quot;</a>
+ <a href="https://stackoverflow.com/questions/14800204/in-a-template-how-do-you-access-an-outer-scope-while-inside-of-a-with-or-rang" rel="noreferrer" target="_blank">直接の出典である Stack Overflow の回答: &quot;In a template how do you access an outer scope while inside of a &quot;with&quot; or &quot;range&quot; scope?&quot;</a>
</li>
<li>
- <a href="https://pkg.go.dev/text/template#hdr-Variables">大元の出典である <code>text/template</code> の公式ドキュメント</a>
+ <a href="https://pkg.go.dev/text/template#hdr-Variables" rel="noreferrer" target="_blank">大元の出典である <code>text/template</code> の公式ドキュメント</a>
</li>
</ul>
</section>