<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo on Commentary of Takao</title><link>https://takao.blog/ko/tags/hugo/</link><description>Recent content in Hugo on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>ko</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sun, 12 Jul 2026 04:12:51 +0900</lastBuildDate><atom:link href="https://takao.blog/ko/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Designing Modern Content Security Policies for Hugo blogs</title><link>https://takao.blog/ko/web/hugo-latest-csp-best-practices-2026/</link><pubDate>Fri, 05 Jun 2026 00:00:00 +0900</pubDate><guid>https://takao.blog/ko/web/hugo-latest-csp-best-practices-2026/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/hugo-latest-csp-best-practices-2026-ko.png" alt="Featured image of post Designing Modern Content Security Policies for Hugo blogs" /&gt;&lt;h2 id="why-csp-matters-for-static-sites"&gt;Why CSP Matters for Static Sites
&lt;/h2&gt;&lt;p&gt;Static sites built with Hugo are inherently more secure than dynamic applications, but they still execute third-party scripts for analytics, ads, and embeds. A &lt;strong&gt;Content Security Policy (CSP)&lt;/strong&gt; protects your visitors from XSS, data injection, and malicious script execution by controlling which resources can load.&lt;/p&gt;
&lt;h2 id="설정-csp-via-cloudflare-pages"&gt;설정 CSP via Cloudflare Pages
&lt;/h2&gt;&lt;p&gt;Cloudflare Pages supports custom &lt;code&gt;_headers&lt;/code&gt; files for controlling HTTP response headers:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;# static/_headers
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;/*
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; Content-Security-Policy: default-src &amp;#39;self&amp;#39;; script-src &amp;#39;self&amp;#39;; style-src &amp;#39;self&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For Hugo, place the &lt;code&gt;_headers&lt;/code&gt; file in your &lt;code&gt;static/&lt;/code&gt; directory so it gets copied to the output:&lt;/p&gt;</description></item><item><title>2026 Static Site Generators: Astro, Hugo, and 11ty</title><link>https://takao.blog/ko/web/static-site-generators-2026-comparison/</link><pubDate>Tue, 05 May 2026 00:00:00 +0900</pubDate><guid>https://takao.blog/ko/web/static-site-generators-2026-comparison/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/static-site-generators-2026-comparison-ko.png" alt="Featured image of post 2026 Static Site Generators: Astro, Hugo, and 11ty" /&gt;&lt;h2 id="2026-static-site-generators-astro-hugo-and-11ty"&gt;2026 Static Site Generators: Astro, Hugo, and 11ty
&lt;/h2&gt;&lt;p&gt;The static site generator landscape in 2026 is more diverse than ever. Developers choose between blazing-fast Go-based &lt;strong&gt;Hugo&lt;/strong&gt;, the islands-architecture pioneer &lt;strong&gt;Astro&lt;/strong&gt;, and the minimalist, flexible &lt;strong&gt;11ty&lt;/strong&gt; (Eleventy). Each excels in different scenarios — understanding their trade-offs is essential for picking the right tool for your project.&lt;/p&gt;
&lt;p&gt;This comparison evaluates them across build speed, templating, content management, image 최적화, i18n, and 배포.&lt;/p&gt;</description></item><item><title>How to Set Up Hugo: Complete Guide for Beginners</title><link>https://takao.blog/ko/web/hugo-setup/</link><pubDate>Wed, 23 Aug 2023 00:00:00 +0900</pubDate><guid>https://takao.blog/ko/web/hugo-setup/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/hugo-setup-ko.png" alt="Featured image of post How to Set Up Hugo: Complete Guide for Beginners" /&gt;&lt;h1 id="how-to-install-hugo---static-site-generator-설치-instructions"&gt;How to install Hugo - Static Site Generator 설치 Instructions
&lt;/h1&gt;&lt;p&gt;Hugo is a fast and simple static site generator and tool that makes building websites easy. This article details the steps to install Hugo.&lt;/p&gt;
&lt;h2 id="step-1-다운로드-hugo"&gt;Step 1: 다운로드 Hugo
&lt;/h2&gt;&lt;p&gt;To install Hugo, first 다운로드 the appropriate 버전 of the Hugo binary from the official 다운로드 page.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;go to &lt;a class="link" href="https://gohugo.io/getting-started/installing/" target="_blank" rel="noopener"
 &gt;the official Hugo 다운로드 page&lt;/a&gt;. 2.&lt;/li&gt;
&lt;li&gt;select the 설치 method appropriate for your operating system (Windows, macOS, Linux, etc.)&lt;/li&gt;
&lt;li&gt;open a terminal (command prompt) and follow the instructions to 다운로드 the Hugo binary.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="step-2-confirm-설치"&gt;Step 2: Confirm 설치
&lt;/h2&gt;&lt;p&gt;After the Hugo binary has been downloaded, verify that the 설치 was successful. 1.&lt;/p&gt;</description></item></channel></rss>