<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>devkuma – devkuma</title>
    <link>https://www.devkuma.com/en/</link>
    <image>
      <url>https://www.devkuma.com/en/logo/180x180.jpg</url>
      <title>devkuma</title>
      <link>https://www.devkuma.com/en/</link>
    </image>
    <description>Recent content on devkuma</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>kc@example.com (kc kim)</managingEditor>
    <webMaster>kc@example.com (kc kim)</webMaster>
    <copyright>The devkuma</copyright>
    
	  <atom:link href="https://www.devkuma.com/en/index.xml" rel="self" type="application/rss+xml" />
    
    
      
      
    
    
    <item>
      <title>Sites</title>
      <link>https://www.devkuma.com/en/docs/sites/</link>
      <pubDate>Sun, 01 Sep 2024 10:28:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/sites/</guid>
      <description>
        
        
        &lt;p&gt;A collection of useful websites.&lt;/p&gt;

      </description>
      
      <category>Site</category>
      
    </item>
    
    <item>
      <title>Bluetooth Came from King Harald Bluetooth of Norway</title>
      <link>https://www.devkuma.com/en/docs/etym/bluetooth/</link>
      <pubDate>Sun, 17 Mar 2024 00:26:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/bluetooth/</guid>
      <description>
        
        
        &lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/bluetooth-logo.jpg&#34; alt=&#34;Bluetooth&#34;&gt;&lt;/p&gt;
&lt;p&gt;The term &amp;ldquo;Bluetooth&amp;rdquo; comes from the name of Harald Bluetooth, king of Norway. Harald Bluetooth was a 10th-century king who unified Denmark and Norway, and his name was pronounced &amp;ldquo;Blaten&amp;rdquo; or &amp;ldquo;Blaton&amp;rdquo; in Norwegian.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/harald-bluetooth.jpeg&#34; alt=&#34;Harald Bluetooth&#34;&gt;&lt;/p&gt;
&lt;p&gt;Bluetooth technology took its name from this, carrying the meaning of a technology that enables communication between different peoples centered around Norway at that time. Accordingly, Bluetooth technology developed into a technology used to improve wireless communication between various devices.&lt;/p&gt;
&lt;p&gt;Today, Bluetooth technology is widely used to wirelessly transfer data and communicate between various electronic devices such as mobile phones, speakers, headsets, and car systems. Like its namesake Harald Bluetooth, it serves to promote communication between different devices and connect them into one.&lt;/p&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.seoul.co.kr/news/economy/2011/02/02/20110202800010&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;What is the origin of Bluetooth? Interesting IT terms | Seoul Shinmun&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://namu.wiki/w/%ED%95%98%EB%9E%84%201%EC%84%B8%20%EB%B8%94%EB%A1%9C%ED%83%84&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Harald I Bluetooth | Namuwiki&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>Miscellaneous</title>
      <link>https://www.devkuma.com/en/docs/category/computer/basic/etc/</link>
      <pubDate>Sat, 02 Dec 2023 11:35:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/category/computer/basic/etc/</guid>
      <description>
        
        
        
      </description>
      
      <category>Game</category>
      
    </item>
    
    <item>
      <title>Game</title>
      <link>https://www.devkuma.com/en/docs/game/</link>
      <pubDate>Sat, 02 Dec 2023 11:33:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/game/</guid>
      <description>
        
        
        
      </description>
      
      <category>Game</category>
      
    </item>
    
    <item>
      <title>Apache Was Provided as an httpd Patch</title>
      <link>https://www.devkuma.com/en/docs/etym/Apache/</link>
      <pubDate>Mon, 27 Nov 2023 01:37:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/Apache/</guid>
      <description>
        
        
        &lt;h2 id=&#34;apache&#34;&gt;Apache&lt;/h2&gt;
&lt;p&gt;Apache is a famous HTTP server.&lt;/p&gt;
&lt;p&gt;About the Apache HTTP Server Project - The Apache HTTP Server Project
&lt;a href=&#34;https://httpd.apache.org/ABOUT_APACHE.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://httpd.apache.org/ABOUT_APACHE.html&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The origin is also explained in the official FAQ.&lt;/p&gt;
&lt;p&gt;Why the name &amp;ldquo;Apache&amp;rdquo;?&lt;br&gt;
&lt;a href=&#34;https://wiki.apache.org/httpd/FAQ#Why_the_name_.22Apache.22.3F&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://wiki.apache.org/httpd/FAQ#Why_the_name_.22Apache.22.3F&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The name &amp;lsquo;Apache&amp;rsquo; was chosen from respect for the Native American Indian tribe of Apache (Indé), well-known for their superior skills in warfare strategy and their inexhaustible endurance. For more information on the Apache Nation, we suggest searching Google, or AllTheWeb.&lt;/p&gt;
&lt;p&gt;Secondarily, and more popularly (though incorrectly) accepted, it&amp;rsquo;s a considered cute name which stuck. Apache is &amp;ldquo;A PAtCHy server&amp;rdquo;. It was based on some existing code and a series of &amp;ldquo;patch files&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;These days Apache as such means much more. It&amp;rsquo;s first and foremost the Apache Software Foundation, under which there are dozens of projects.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Officially, the name was chosen out of respect for the Apache people, a Native American tribe.&lt;/p&gt;
&lt;p&gt;However, the more famous story is probably the second one, &amp;ldquo;a patchy server&amp;rdquo;. It is also written in &amp;ldquo;About the Apache HTTP Server Project&amp;rdquo;: Apache originally began as patches for NCSA httpd.&lt;br&gt;
This is said to be why it came to be called patch files or a patchy server.&lt;/p&gt;
&lt;p&gt;Although it is written as incorrect, it also feels as if the first explanation may have come later&amp;hellip;&lt;/p&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>Ajax Is a Flush Toilet?</title>
      <link>https://www.devkuma.com/en/docs/etym/ajax/</link>
      <pubDate>Mon, 27 Nov 2023 00:25:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/ajax/</guid>
      <description>
        
        
        &lt;h2 id=&#34;ajax-in-it&#34;&gt;Ajax in IT&lt;/h2&gt;
&lt;p&gt;Ajax is an abbreviation for &amp;lsquo;&lt;strong&gt;A&lt;/strong&gt;synchronous &lt;strong&gt;Ja&lt;/strong&gt;vaScript And &lt;strong&gt;X&lt;/strong&gt;ML&amp;rsquo;, and it is probably a familiar concept to developers who build web applications.&lt;/p&gt;
&lt;p&gt;Ajax (programming)&lt;br&gt;
&lt;a href=&#34;https://en.wikipedia.org/wiki/Ajax_%28programming%29&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/Ajax_(programming)&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;another-meaning-of-ajax&#34;&gt;Another Meaning of Ajax&lt;/h2&gt;
&lt;p&gt;In fact, this was also the name of a flush toilet.&lt;br&gt;
Around the 16th century, during the reign of Queen Elizabeth I of England, a courtier named John Harington invented a flush toilet and named it &amp;ldquo;Ajax&amp;rdquo;.&lt;br&gt;
There was originally slang for a toilet called &amp;ldquo;jakes&amp;rdquo;, and it seems the name imitated that word.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For reference, toilets are often abbreviated as &amp;ldquo;WC&amp;rdquo;, but writing about that would go far off topic, so it is omitted here.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;John Harington (writer)&lt;br&gt;
&lt;a href=&#34;https://en.wikipedia.org/wiki/John_Harington_%28writer%29&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/John_Harington_(writer)&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Invention of the toilet
Around this time, Harington also devised Britain&amp;rsquo;s first flushing toilet – called the Ajax (i.e., a &amp;ldquo;jakes&amp;rdquo;, which was an old slang word for toilet). It was installed at his manor in Kelston. In 1596, Harington wrote a book called A New Discourse upon a Stale Subject: The Metamorphosis of Ajax about his invention.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There are several stories about the etymology, but in fact it is not clear whether Ajax in web applications was named with the above meaning in mind.&lt;/p&gt;
&lt;p&gt;Ajax is known to have first appeared in the article below, but that content cannot be found there.&lt;/p&gt;
&lt;p&gt;Ajax: A New Approach to Web Applications&lt;br&gt;
&lt;a href=&#34;https://immagic.com/eLibrary/ARCHIVES/GENERAL/ADTVPATH/A050218G.pdf&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://immagic.com/eLibrary/ARCHIVES/GENERAL/ADTVPATH/A050218G.pdf&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There is a detergent called &amp;ldquo;Ajax&amp;rdquo; in the United States, so perhaps the name was chosen with that in mind.&lt;br&gt;
&lt;a href=&#34;https://en.wikipedia.org/wiki/Ajax_%28cleaning_product%29&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/Ajax_(cleaning_product)&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/alax-cleaner.png&#34; alt=&#34;Timestamp&#34;&gt;&lt;/p&gt;
&lt;p&gt;At the time, SOAP also seems to have been used quite a lot for data communication with XML, so that may have been considered as well.&lt;/p&gt;
&lt;p&gt;The blog above seems to have caused a big response after publication and updated its Q&amp;amp;A, but there does not seem to have been a question like &amp;ldquo;Does Ajax you meant to relate to a kind of cleaning product?&amp;rdquo;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Or perhaps it was judged to be an irrelevant question and ignored&amp;hellip;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Tea
&lt;a href=&#34;https://www.dailymail.co.uk/femail/cleaning/article-10873265/What-does-AJAX-stand-Spray-wipe-brands-heritage-revealed.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://www.dailymail.co.uk/femail/cleaning/article-10873265/What-does-AJAX-stand-Spray-wipe-brands-heritage-revealed.html&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>What Is the Real Meaning of Booting a Computer?</title>
      <link>https://www.devkuma.com/en/docs/etym/booting/</link>
      <pubDate>Mon, 27 Nov 2023 00:25:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/booting/</guid>
      <description>
        
        
        &lt;h2 id=&#34;booting&#34;&gt;Booting&lt;/h2&gt;
&lt;p&gt;When starting a computer, we say that it boots. This seems to come from bootstraps, the parts used to pull boots on more easily.
Here, bootstraps are not shoelaces.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/bootstraps.png&#34; alt=&#34;bootstraps&#34;&gt;&lt;/p&gt;
&lt;p&gt;Bootstrapping - Computing
&lt;a href=&#34;https://en.wikipedia.org/wiki/Bootstrapping#Computing&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/Bootstrapping#Computing&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then why, and through what process, did the computer boot process come to be called bootstrapping? It seems the exact facts are not known.&lt;/p&gt;
&lt;p&gt;There are several theories. First, there is a famous paradoxical expression in English, &amp;ldquo;Pull oneself up by one&amp;rsquo;s bootstraps&amp;rdquo;. At first glance it seems possible, but in reality it is impossible; it is used to mean an absurd and unrealizable method.&lt;/p&gt;
&lt;p&gt;Later, this phrase began to be used with another meaning. Around 1922, it was reportedly used to mean a way to improve oneself independently without help from others.&lt;/p&gt;
&lt;p&gt;Bootstrapping - Etymology
&lt;a href=&#34;https://en.wikipedia.org/wiki/Bootstrapping#Etymology&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/Bootstrapping#Etymology&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Tall boots may have a tab, loop or handle at the top known as a bootstrap, allowing one to use fingers or a boot hook tool to help pulling the boots on. The saying &amp;ldquo;to pull oneself up by one&amp;rsquo;s bootstraps&amp;rdquo;[3] was already in use during the 19th century as an example of an impossible task. The idiom dates at least to 1834, when it appeared in the Workingman&amp;rsquo;s Advocate: &amp;ldquo;It is conjectured that Mr. Murphee will now be enabled to hand himself over the Cumberland river or a barn yard fence by the straps of his boots.&amp;quot;[4] In 1860 it appeared in a comment on philosophy of mind: &amp;ldquo;The attempt of the mind to analyze itself [is] an effort analogous to one who would lift himself by his own bootstraps.&amp;quot;[5] Bootstrap as a metaphor, meaning to better oneself by one&amp;rsquo;s own unaided efforts, was in use in 1922.[6] This metaphor spawned additional metaphors for a series of self-sustaining processes that proceed without external help.[7]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;the-real-meaning-of-bootstrapping&#34;&gt;The Real Meaning of Bootstrapping&lt;/h2&gt;
&lt;p&gt;In summary, it seems to have been used with two broad meanings.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;An impossible or foolish method&lt;/li&gt;
&lt;li&gt;A method of improving oneself independently&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now consider the boot process of early computers.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In a computer with only CPU/RAM/IO
&lt;ul&gt;
&lt;li&gt;Immediately after power is turned on, RAM contains no program data.&lt;/li&gt;
&lt;li&gt;A loading program is needed to load a program from external storage.&lt;/li&gt;
&lt;li&gt;Another loading program is needed to load the loading program into memory.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Because this situation occurs, the computer cannot operate satisfactorily by itself at all. This situation recalls the first meaning of &amp;ldquo;Pull oneself up by one&amp;rsquo;s bootstraps&amp;rdquo;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In practice, code was written one byte at a time using built-in toggle switches and then executed after input was complete.
There were probably also cases where code was written to read data from external storage such as punch cards or tape, load it into RAM, and then execute the loaded content.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If there is a mechanism that automatically loads a program into RAM from external storage, then when power is turned on and a basic button is pressed, a dedicated circuit reads data from the external storage. After loading the program from external storage into RAM, the CPU is initialized and processing starts from the default memory address.
If necessary, another program is loaded from another input device to perform more complex processing. This recalls the second meaning of &amp;ldquo;Pull oneself up by one&amp;rsquo;s bootstraps&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Wikipedia also explains it in this sense.
&lt;a href=&#34;https://en.wikipedia.org/wiki/Bootstrapping#Computing&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org/wiki/Bootstrapping#Computing&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All of the above is speculation, but in the early days of computers there were probably many situations like this.
People working in the field at the time may have felt, &amp;ldquo;This really is a pull itself up by its bootstraps situation.&amp;rdquo;&lt;br&gt;
Perhaps that is why the word bootstrapping started to be used casually and gradually took root.&lt;/p&gt;
&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://uselessetymology.com/2019/11/07/the-origins-of-the-phrase-pull-yourself-up-by-your-bootstraps/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;The Origins of the Phrase &amp;ldquo;Pull Yourself Up By Your Bootstraps&amp;rdquo; - Useless Etymology&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>Interesting IT Term Etymologies</title>
      <link>https://www.devkuma.com/en/docs/etym/</link>
      <pubDate>Mon, 27 Nov 2023 00:06:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/</guid>
      <description>
        
        
        &lt;p&gt;The etymology of computer terms comes from many different fields.
This section explains the origins of interesting IT terms.&lt;/p&gt;
&lt;p&gt;Reference: &lt;a href=&#34;https://en.wikipedia.org/wiki/List_of_computer_term_etymologies&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;wikipedia | List of computer term etymologies&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;

      </description>
      
      <category>IT Terms</category>
      
    </item>
    
    <item>
      <title>What Is a Timestamp in IT?</title>
      <link>https://www.devkuma.com/en/docs/etym/timestamp/</link>
      <pubDate>Mon, 27 Nov 2023 00:06:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/timestamp/</guid>
      <description>
        
        
        &lt;h2 id=&#34;what-is-a-timestamp&#34;&gt;What Is a Timestamp?&lt;/h2&gt;
&lt;p&gt;A timestamp literally means a time mark. It refers to the date and time stamped on a document, and in IT it refers to date and time information assigned and stored as one of the properties of a file or data.&lt;/p&gt;
&lt;h2 id=&#34;origin-of-the-timestamp&#34;&gt;Origin of the Timestamp&lt;/h2&gt;
&lt;p&gt;The timestamp is said to have originated from rubber stamps once used in the West to indicate the time when documents such as mail were sent or received. The date was placed in the center, and a triangle at the top pointed to a specific time around a circle representing 24 hours.&lt;/p&gt;
&lt;p&gt;Stamping this mark on paper to indicate a specific time has become, in today&amp;rsquo;s IT systems, a way of representing elapsed time based on the epoch.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/Timestamp.png&#34; alt=&#34;Timestamp&#34;&gt;&lt;/p&gt;
&lt;p&gt;Image source: &lt;a href=&#34;https://commons.wikimedia.org/wiki/File:Timestamp.png&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;wikimedia&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;timestamps-in-file-systems&#34;&gt;Timestamps in File Systems&lt;/h2&gt;
&lt;p&gt;In an operating system&amp;rsquo;s file system, creation time, last modification time, and last access time are recorded as kinds of properties for files or directories (folders). These are called timestamps.&lt;/p&gt;
&lt;p&gt;The file system automatically assigns and updates them when files or directories are created, written, or read. Based on this information, files can be sorted by creation order or update order, and you can check which of the same files in different locations was updated most recently.&lt;/p&gt;
&lt;h2 id=&#34;time-certification-for-electronic-documents&#34;&gt;Time Certification for Electronic Documents&lt;/h2&gt;
&lt;p&gt;A mechanism that proves an electronic document existed at a specific date and time in the past and has not been tampered with up to the present is called time certification. The date and time information assigned at that point is called a timestamp.&lt;/p&gt;
&lt;p&gt;Like digital signatures, it uses a trusted third party called a Time-Stamping Authority (TSA). The document creator sends the hash value of the document data, which is short data representing its characteristics, to the certification authority. The certification authority then generates another hash value from the received date and time and the document hash value.&lt;/p&gt;
&lt;p&gt;Later, a person who wants to verify the document calculates a hash value from the document they have and the date and time claimed by the creator. If it matches the hash value from the time of issuance, the person can confirm that the document actually existed when the timestamp was issued and has not been tampered with since.&lt;/p&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>Pac-Man Came from the Hockey Puck</title>
      <link>https://www.devkuma.com/en/docs/etym/pac-man/</link>
      <pubDate>Mon, 27 Nov 2023 00:06:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/etym/pac-man/</guid>
      <description>
        
        
        &lt;h2 id=&#34;pac-man&#34;&gt;Pac-Man&lt;/h2&gt;
&lt;p&gt;Pac-Man is a famous game from the Japanese game company Namco. In English-speaking countries, it is a game character known by even more people than Mario, and it is also one of the most recognizable games and characters. Of course, in Korea as well, almost everyone knows roughly what Pac-Man gameplay looks like.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/etym/pac-man.jpeg&#34; alt=&#34;Pac Man&#34;&gt;&lt;/p&gt;
&lt;p&gt;The original English notation is said to have been intended as Puck-Man because the character resembled a hockey puck. However, the name became Pac-Man rather than Puck Man because there was concern that the letter &amp;ldquo;P&amp;rdquo; could be changed to &amp;ldquo;F&amp;rdquo; when written.&lt;/p&gt;
&lt;p&gt;Pac-Man - Wikipedia&lt;br&gt;
&lt;a href=&#34;https://en.wikipedia.org&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://en.wikipedia.org&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The result was a game he named Puck Man[48] as a reference to the main character&amp;rsquo;s hockey puck shape.[49] Later in 1980, the game was picked up for manufacture in the United States by Bally division Midway,[45] which changed the game&amp;rsquo;s name from Puck Man to Pac-Man in an effort to avoid vandalism from people changing the letter &amp;lsquo;P&amp;rsquo; into an &amp;lsquo;F&amp;rsquo; to form the word fuck.&lt;/p&gt;
&lt;/blockquote&gt;

      </description>
      
      <category>ETYM</category>
      
    </item>
    
    <item>
      <title>How to Reference Information Set in Hugo Configuration Files (config.yml)</title>
      <link>https://www.devkuma.com/en/docs/hugo/configuration/</link>
      <pubDate>Sun, 14 May 2023 16:33:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/configuration/</guid>
      <description>
        
        
        &lt;h2 id=&#34;configuration-file-basics&#34;&gt;Configuration File Basics&lt;/h2&gt;
&lt;p&gt;General settings for a Hugo site are placed in the root directory and use one of the following configuration files. If multiple files exist, the first discovered one is selected.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;File name&lt;/th&gt;
          &lt;th&gt;Description&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;config.toml&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Written in TOML format (default)&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;config.yaml&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Written in YAML format&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;code&gt;config.json&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;Written in JSON format&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Example config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;baseURL&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;https://www.devkuam.com/&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;languageCode&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ko-kr&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;title&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;My Blog&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;themesDir&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;../hugo_themes&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;devkuma&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Configurable parameters and their default values are listed below.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://gohugo.io/getting-started/configuration/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Configure Hugo | Hugo&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;referencing-setting-values&#34;&gt;Referencing Setting Values&lt;/h2&gt;
&lt;h3 id=&#34;referencing-parameters-defined-by-hugo&#34;&gt;Referencing Parameters Defined by Hugo&lt;/h3&gt;
&lt;p&gt;Parameters set in the configuration file can be referenced in template files using the &lt;code&gt;.Site&lt;/code&gt; variable. For example, values such as the &lt;code&gt;title&lt;/code&gt; parameter and &lt;code&gt;baseURL&lt;/code&gt; set in &lt;code&gt;config.toml&lt;/code&gt; can be referenced as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;This site&amp;#39;s title is &amp;lt;b&amp;gt;{{ $.Site.Title }}&amp;lt;/b&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;This site&amp;#39;s base URL is &amp;lt;b&amp;gt;{{ $.Site.BaseURL }}&amp;lt;/b&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Parameter names begin with uppercase letters, so use &lt;code&gt;.Site.Title&lt;/code&gt; rather than &lt;code&gt;.Site.title&lt;/code&gt;. You can see which property names correspond to each setting by checking the list of Site variables below.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://gohugo.io/variables/site/&#34; alt=&#34;Site Variables | Hugo&#34;&gt;&lt;/p&gt;
&lt;p&gt;To branch processing depending on whether a parameter is configured, write it as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ with $.Site.GoogleAnalytics }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  The Google Analytics tracking ID is &amp;lt;b&amp;gt;{{ . }}&amp;lt;/b&amp;gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ else }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  The Google Analytics tracking ID is not configured.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The example above uses the &lt;code&gt;googleAnalytics&lt;/code&gt; parameter to check whether a tracking ID for Google Analytics has been configured.&lt;/p&gt;
&lt;h3 id=&#34;referencing-custom-parameters&#34;&gt;Referencing Custom Parameters&lt;/h3&gt;
&lt;p&gt;To set custom parameters in the configuration file, add parameters under the &lt;code&gt;params&lt;/code&gt; section.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;baseURL&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;https://www.devkuam.com/&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;languageCode&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ko-kr&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;title&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;My Blog&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;params&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;GitHubUser&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;redfreek2c&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;Twitter&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;kimkc&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;Subtitle&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;Technical sharing&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;Description&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;This section records detailed site information&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;SidebarRecentLimit&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;5&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;ListOfFoo&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;foo1&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;foo2&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Custom parameters can be referenced from template files in the form &lt;code&gt;$.Site.Params.name&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The example below references the &lt;code&gt;Description&lt;/code&gt; value of a custom parameter variable.&lt;br&gt;
&lt;strong&gt;layouts/partials/head.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;description&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;content&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;{{ if .IsHome }}{{ $.Site.Params.description }}{{ else }}{{ .Description }}{{ end }}&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;/&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here, the main first page (home page) references the configuration file setting (&lt;code&gt;$.Site.Params.Description&lt;/code&gt;), while other pages reference the &lt;code&gt;description&lt;/code&gt; value set in each page&amp;rsquo;s front matter.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Insert Google Analytics Tracking Code in Hugo (googleAnalytics)</title>
      <link>https://www.devkuma.com/en/docs/hugo/google-analytics/</link>
      <pubDate>Sun, 14 May 2023 16:33:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/google-analytics/</guid>
      <description>
        
        
        &lt;p&gt;With Google Analytics, you can analyze website access information from multiple angles. This article explains how to easily insert Google Analytics code into a website created with Hugo.&lt;/p&gt;
&lt;h2 id=&#34;set-the-tracking-id-in-the-configuration-file&#34;&gt;Set the Tracking ID in the Configuration File&lt;/h2&gt;
&lt;p&gt;First, in the &lt;a href=&#34;https://analytics.google.com/analytics/web&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Google Analytics&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt; admin screen, run &amp;ldquo;Add property&amp;rdquo; and add the address of the website you want to analyze. If you do not have a Google Analytics account, create one first. The tracking ID issued at this time, such as &lt;code&gt;G-AB1CD2EFGH&lt;/code&gt;, is identification information for determining access to that website. Because this ID differs by website, it is best to set it in the Hugo configuration file.&lt;/p&gt;
&lt;p&gt;Hugo provides the &lt;code&gt;googleAnalytics&lt;/code&gt; parameter in advance as a configuration file parameter. Set the tracking ID issued by the Google Analytics site as follows.&lt;br&gt;
&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;baseURL&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;https://www.devkuam.com/&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;languageCode&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ko-kr&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;title&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;My Blog&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;devkuma&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;googleAnalytics&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;G-AB1CD2EFGH&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# example code&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With this setting, you can check the tracking ID in template files with &lt;code&gt;.Site.GoogleAnalytics&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;configure-automatic-insertion-of-tracking-code-js&#34;&gt;Configure Automatic Insertion of Tracking Code (JS)&lt;/h2&gt;
&lt;p&gt;To use Google Analytics, each page must include tracking code like the following before the &lt;code&gt;head&lt;/code&gt; element.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-js&#34; data-lang=&#34;js&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;&amp;lt;!--&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;Global&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;site&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;tag&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;js&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;)&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;-&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;Google&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;Analytics&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;--&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;script&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;async&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;https://www.googletagmanager.com/gtag/js?id=G-AB1CD2EFGH&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#a40000&#34;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;script&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#204a87&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;||&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(){&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;push&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;arguments&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;);}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;js&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;new&lt;/span&gt; &lt;span style=&#34;color:#204a87&#34;&gt;Date&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;());&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;config&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;G-AB1CD2EFGH&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#a40000&#34;&gt;/script&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Here, use a Hugo partial template to include the HTML code above in each page. The part that specifies a tracking ID such as &lt;code&gt;G-AB1CD2EFGH&lt;/code&gt; is replaced with the value specified by the &lt;code&gt;googleAnalytics&lt;/code&gt; parameter in the configuration file.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;layouts/partials/analytics.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ if not .Site.IsServer }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ with .Site.GoogleAnalytics }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;&amp;lt;!-- Google tag (gtag.js) --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;script&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;async&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;https://www.googletagmanager.com/gtag/js?id={{ . }}&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;script&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;script&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#204a87&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;||&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(){&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;dataLayer&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;push&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;arguments&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;);}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;js&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;new&lt;/span&gt; &lt;span style=&#34;color:#204a87&#34;&gt;Date&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;());&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;gtag&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;config&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;{{ &amp;#34;{{&amp;#34; }} . }}&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;script&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;blockquote&gt;
&lt;p&gt;Lines 1 and 2 of the template above control output so that tracking code is not printed when testing on a local Hugo server or when &lt;code&gt;googleAnalytics&lt;/code&gt; is not configured.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Include the created partial template from a template file as follows. Here, it is included from the base template (&lt;code&gt;baseof&lt;/code&gt;).&lt;br&gt;
&lt;strong&gt;layouts/_default/baseof.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;html&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;lang&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ja&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;head&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {{- partial &amp;#34;analytics&amp;#34; . -}}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;charset&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;UTF-8&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ...omitted...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;head&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;body&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ...omitted...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;body&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;html&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now all pages include the Google Analytics tracking code.&lt;/p&gt;
&lt;h2 id=&#34;appendix-hugo-built-in-template&#34;&gt;Appendix: Hugo Built-in Template&lt;/h2&gt;
&lt;p&gt;In fact, Hugo provides a built-in internal template that includes Google Analytics tracking code.&lt;/p&gt;
&lt;p&gt;You can easily insert tracking code by writing the following in any template file.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;{{ template &amp;#34;_internal/google_analytics.html&amp;#34; . }}  &amp;lt;!-- synchronous version --&amp;gt;
{{ template &amp;#34;_internal/google_analytics_async.html&amp;#34; . }}  &amp;lt;!-- asynchronous version --&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;However, built-in templates do not suppress code output when running on a local server, and they may not flexibly handle Google changes, so it is better to create a partial template if possible.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Make Hugo Count Korean Words Correctly in Page Summaries (hasCJKLanguage, isCJKLanguage)</title>
      <link>https://www.devkuma.com/en/docs/hugo/cjklanguage/</link>
      <pubDate>Sun, 14 May 2023 16:06:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/cjklanguage/</guid>
      <description>
        
        
        &lt;p&gt;On Hugo post list pages, the beginning of an article is displayed as a summary limited to a specific number of words, usually 70 words. However, this word count is calculated based on languages such as English by default, so Korean and other CJK text is not counted correctly, and summaries may be displayed too long.&lt;/p&gt;
&lt;h2 id=&#34;configure-in-the-settings-file&#34;&gt;Configure in the Settings File&lt;/h2&gt;
&lt;p&gt;To count Korean characters correctly and display short summaries, set &lt;code&gt;hasCJKLanguage&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; in the settings file as follows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;hasCJKLanguage&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;For config.yaml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;hasCJKLanguage&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;With this, Hugo&amp;rsquo;s internal &lt;code&gt;.Summary&lt;/code&gt; and &lt;code&gt;.WordCount&lt;/code&gt; work correctly for Korean, and shorter summary text is displayed.&lt;/p&gt;
&lt;h2 id=&#34;configure-per-page&#34;&gt;Configure Per Page&lt;/h2&gt;
&lt;p&gt;If you want to configure it for each page, set &lt;code&gt;isCJKLanguage&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; in the front matter as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-markdown&#34; data-lang=&#34;markdown&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title: Post title
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date: &amp;#34;2023-05-14&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;isCJKLanguage: true
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Post body
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Use &lt;code&gt;hasCJKLanguage&lt;/code&gt; in the settings file and &lt;code&gt;isCJKLanguage&lt;/code&gt; in the front matter of Markdown files.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Getting Started with Hugo</title>
      <link>https://www.devkuma.com/en/docs/hugo/intro/</link>
      <pubDate>Sun, 14 May 2023 15:36:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/intro/</guid>
      <description>
        
        
        
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Creating Hugo Posts</title>
      <link>https://www.devkuma.com/en/docs/hugo/create-post/</link>
      <pubDate>Sun, 14 May 2023 15:36:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/create-post/</guid>
      <description>
        
        
        
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Hugo Commands</title>
      <link>https://www.devkuma.com/en/docs/hugo/command/</link>
      <pubDate>Sun, 14 May 2023 15:36:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/command/</guid>
      <description>
        
        
        
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Hugo Configuration</title>
      <link>https://www.devkuma.com/en/docs/hugo/config/</link>
      <pubDate>Sun, 14 May 2023 15:36:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/config/</guid>
      <description>
        
        
        
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Check Unused Templates or Shortcodes in Hugo (hugo --printUnusedTemplates)</title>
      <link>https://www.devkuma.com/en/docs/hugo/print-unused-templates/</link>
      <pubDate>Sun, 14 May 2023 15:32:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/print-unused-templates/</guid>
      <description>
        
        
        &lt;p&gt;To search for templates that are not used when building a Hugo site, use the &lt;code&gt;--printUnusedTemplates&lt;/code&gt; option as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo --printUnusedTemplates
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Start building sites …
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo v0.111.3+extended darwin/arm64 &lt;span style=&#34;color:#000&#34;&gt;BuildDate&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;unknown
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;...omitted...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WARN 2023/05/14 15:25:46 Template _default/list.rss.xml is unused, &lt;span style=&#34;color:#204a87&#34;&gt;source&lt;/span&gt; file /Users/user/...omitted.../mysite/layouts/_default/list.rss.xml
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WARN 2023/05/14 15:25:46 Template _default/single.html is unused, &lt;span style=&#34;color:#204a87&#34;&gt;source&lt;/span&gt; file /Users/user/...omitted.../mysite/themes/docsy/layouts/_default/single.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WARN 2023/05/14 15:25:46 Template blog/baseof.html is unused, &lt;span style=&#34;color:#204a87&#34;&gt;source&lt;/span&gt; file /Users/user/...omitted.../mysite/docsy/layouts/blog/baseof.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;...omitted...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WARN 2023/05/14 15:25:46 Template swagger/single.html is unused, &lt;span style=&#34;color:#204a87&#34;&gt;source&lt;/span&gt; file /Users/user/user/...omitted.../mysite/themes/mytheme/layouts/swagger/single.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Total in &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3146&lt;/span&gt; ms
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In the example above, you can see that several templates or shortcodes are not used.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>How to Start and Stop Multiple Hugo Servers at Once</title>
      <link>https://www.devkuma.com/en/docs/hugo/multi-server/</link>
      <pubDate>Sun, 14 May 2023 14:52:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/multi-server/</guid>
      <description>
        
        
        &lt;h2 id=&#34;about-starting-multiple-hugo-servers&#34;&gt;About Starting Multiple Hugo Servers&lt;/h2&gt;
&lt;p&gt;This article explains how to start servers for multiple Hugo sites at the same time from a single command prompt.&lt;/p&gt;
&lt;p&gt;Here, assume that several Hugo projects exist under the home directory as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~/website/site1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~/website/site2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~/website/site3
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To start the Hugo server for each Hugo project, you can start multiple Hugo servers by specifying different port numbers as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50001&lt;/span&gt; -s ~/website/site1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50002&lt;/span&gt; -s ~/website/site2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50003&lt;/span&gt; -s ~/website/site3
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;However, as described above, one server process occupies one command prompt, so when starting multiple Hugo servers, you need to keep multiple command prompts open.&lt;/p&gt;
&lt;h2 id=&#34;start-multiple-hugo-servers-from-one-prompt&#34;&gt;Start Multiple Hugo Servers from One Prompt&lt;/h2&gt;
&lt;h3 id=&#34;windows&#34;&gt;Windows&lt;/h3&gt;
&lt;p&gt;With the Windows &lt;code&gt;start&lt;/code&gt; command, you can run the Hugo command in the background, so you can start multiple Hugo servers without opening additional command prompts.&lt;/p&gt;
&lt;p&gt;For example, the following batch file starts three Hugo servers in the background.&lt;br&gt;
&lt;strong&gt;start-servers.bat&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bat&#34; data-lang=&#34;bat&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;@&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;echo&lt;/span&gt; off
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;start&lt;/span&gt; /b hugo server -p 50001 -s C:/website/site1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;start&lt;/span&gt; /b hugo server -p 50002 -s C:/website/site2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;start&lt;/span&gt; /b hugo server -p 50003 -s C:/website/site3
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;title&lt;/span&gt; Hugo Servers
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;blockquote&gt;
&lt;p&gt;The final line changes the command prompt window title to &amp;ldquo;Hugo Servers&amp;rdquo; with the &lt;code&gt;title Hugo Servers&lt;/code&gt; command. Setting the window title is recommended because it makes it easier to identify what the window is for just by looking at the taskbar.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;To stop all Hugo servers running in the background together, use the &lt;code&gt;taskkill&lt;/code&gt; command to terminate all &lt;code&gt;hugo.exe&lt;/code&gt; processes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;stop-servers.bat&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bat&#34; data-lang=&#34;bat&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;@&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;echo&lt;/span&gt; off
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;taskkill /f /im hugo.exe
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;linux-and-macos&#34;&gt;Linux and macOS&lt;/h3&gt;
&lt;p&gt;On Linux and macOS, you can easily start multiple servers in the background by adding &lt;code&gt;&amp;amp;&lt;/code&gt; at the end when running the Hugo command as follows.&lt;br&gt;
&lt;strong&gt;start-servers.sh&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;hugo server -p 50001 -s ~/website/site1 &amp;amp;
hugo server -p 50002 -s ~/website/site2 &amp;amp;
hugo server -p 50003 -s ~/website/site3 &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To stop the Hugo server processes together, you can easily terminate them with the &lt;code&gt;killall&lt;/code&gt; command.&lt;br&gt;
&lt;strong&gt;stop-servers.sh&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;killall hugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Alternatively, instead of a shell script, you can define functions or aliases and use them quickly.&lt;br&gt;
&lt;strong&gt;~/.bash_profile&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;function&lt;/span&gt; hugo-start &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50001&lt;/span&gt; -s ~/website/site1 &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;amp;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50002&lt;/span&gt; -s ~/website/site2 &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;amp;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50003&lt;/span&gt; -s ~/website/site3 &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;amp;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;function&lt;/span&gt; hugo-stop &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    killall hugo
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>When Page Changes Are Not Reflected in the Hugo Server (hugo server --ignoreCache)</title>
      <link>https://www.devkuma.com/en/docs/hugo/ignore-cache/</link>
      <pubDate>Sun, 14 May 2023 14:30:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/ignore-cache/</guid>
      <description>
        
        
        &lt;h2 id=&#34;ignore-cache-option&#34;&gt;Ignore Cache Option&lt;/h2&gt;
&lt;p&gt;Even after starting the Hugo server and updating a page, changes may not be reflected even if you reload the web browser, especially in shared parts such as &lt;code&gt;layouts&lt;/code&gt; and &lt;code&gt;partials&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If the page build succeeds but changes are not reflected, it is a good idea to suspect the Hugo server cache. When running the &lt;code&gt;hugo server&lt;/code&gt; command, using the &lt;code&gt;--ignoreCache&lt;/code&gt; option renders the page without using the cache.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server --ignoreCache
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Configure the Same Theme Directory Across Multiple Hugo Sites (themesDir)</title>
      <link>https://www.devkuma.com/en/docs/hugo/themes-directory/</link>
      <pubDate>Sun, 14 May 2023 14:23:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/themes-directory/</guid>
      <description>
        
        
        &lt;p&gt;The ways to make multiple Hugo projects reference the same theme are as follows.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a theme repository on GitHub or elsewhere, and &lt;code&gt;clone&lt;/code&gt; that repository into multiple Hugo projects.&lt;/li&gt;
&lt;li&gt;Replace each Hugo project&amp;rsquo;s &lt;code&gt;themes&lt;/code&gt; directory with a symbolic link to a shared theme directory.&lt;/li&gt;
&lt;li&gt;Configure the settings file (&lt;code&gt;config.toml&lt;/code&gt;) to reference the shared theme directory.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The first method is the most common, but when applying the same theme to each site with Git, it can be a little cumbersome during development. In that case, the second and third methods are recommended.&lt;/p&gt;
&lt;h2 id=&#34;specify-a-shared-theme-directory-with-a-symbolic-link&#34;&gt;Specify a Shared Theme Directory with a Symbolic Link&lt;/h2&gt;
&lt;p&gt;On operating systems such as Linux and macOS where symbolic links can be created, it is easy to reference a shared theme directory with a symbolic link. For example, assume there is a shared theme directory (&lt;code&gt;hugo_themes&lt;/code&gt;) and three Hugo projects that reference it (&lt;code&gt;site1&lt;/code&gt;, &lt;code&gt;site2&lt;/code&gt;, and &lt;code&gt;site3&lt;/code&gt;) as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── hugo_themes (shared theme directory)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   └── mytheme
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       ├── archetypes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       ├── layouts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       ├── static
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       └── ...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── site1  (Hugo site 1)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── site2  (Hugo site 2)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;└── site3  (Hugo site 3)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you replace each Hugo project&amp;rsquo;s &lt;code&gt;themes&lt;/code&gt; directory with a symbolic link to &lt;code&gt;hugo_themes&lt;/code&gt;, all sites can point to the same theme directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ &lt;span style=&#34;color:#204a87&#34;&gt;cd&lt;/span&gt; site1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ rmdir themes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ ln -s ../hugo_themes themes
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Because setting the theme name to use is still required, set the theme name in each Hugo project&amp;rsquo;s configuration file (&lt;code&gt;config.toml&lt;/code&gt;).
&lt;strong&gt;site1/config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;mytheme&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;configure-a-shared-theme-directory-in-the-settings-file&#34;&gt;Configure a Shared Theme Directory in the Settings File&lt;/h2&gt;
&lt;p&gt;You can also configure the shared theme directory in Hugo&amp;rsquo;s configuration file (&lt;code&gt;config.toml&lt;/code&gt;). The theme directory is configured with a variable called &lt;code&gt;themesDir&lt;/code&gt;, and this directory path can be set to a path above the Hugo project directory.&lt;br&gt;
&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;themesDir&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;../hugo_themes&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;mytheme&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For example, if each Hugo project&amp;rsquo;s configuration file is set as above, the shared theme directory (&lt;code&gt;hugo_themes/mytheme/&lt;/code&gt;) in the parent directory can be used.&lt;/p&gt;
&lt;p&gt;Without using the configuration file, you can also specify the theme directory with the Hugo command option &lt;code&gt;--themesDir&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server --themesDir ~/gitwork/hugo_themes
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If both the &lt;code&gt;themesDir&lt;/code&gt; variable in the settings file and the command-line argument &lt;code&gt;--themesDir&lt;/code&gt; are specified, the command-line argument takes precedence.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Specify the Port When Starting the Hugo Server - Command Option (hugo server --port)</title>
      <link>https://www.devkuma.com/en/docs/hugo/server-port/</link>
      <pubDate>Sat, 13 May 2023 02:32:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/server-port/</guid>
      <description>
        
        
        &lt;p&gt;When you start a Hugo server with the &lt;code&gt;hugo server&lt;/code&gt; command, it starts a web server that uses port &lt;strong&gt;1313&lt;/strong&gt; by default.&lt;/p&gt;
&lt;p&gt;However, if you try to start multiple Hugo servers at the same time, later Hugo servers are assigned arbitrary port numbers. Port numbers from the private port range, 49152 to 65535, are used.&lt;/p&gt;
&lt;h2 id=&#34;specify-the-port&#34;&gt;Specify the Port&lt;/h2&gt;
&lt;p&gt;To specify an arbitrary port number, use the &lt;code&gt;-p&lt;/code&gt; (&lt;code&gt;--port&lt;/code&gt;) option as follows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Start the Hugo server with port number 51234&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;51234&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;start-multiple-hugo-servers-at-the-same-time&#34;&gt;Start Multiple Hugo Servers at the Same Time&lt;/h2&gt;
&lt;p&gt;When starting multiple Hugo servers at the same time, it is best to decide the port number each site will use.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Start three Hugo servers at the same time&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50001&lt;/span&gt; -s ~/mysite1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50002&lt;/span&gt; -s ~/mysite2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -p &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;50003&lt;/span&gt; -s ~/mysite3
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The websites started as above can be accessed at the following addresses.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;http://localhost:50001/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;http://localhost:50002/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;http://localhost:50003/&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Specify the Hugo Source Directory Path - Command Option (hugo server --source)</title>
      <link>https://www.devkuma.com/en/docs/hugo/source-option/</link>
      <pubDate>Sat, 13 May 2023 02:25:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/source-option/</guid>
      <description>
        
        
        &lt;h2 id=&#34;specify-the-source-directory-path&#34;&gt;Specify the Source Directory Path&lt;/h2&gt;
&lt;p&gt;When running the &lt;code&gt;hugo&lt;/code&gt; command, you can start it by specifying the source directory path with the &lt;code&gt;-s&lt;/code&gt; (&lt;code&gt;--source&lt;/code&gt;) option.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Start the Hugo server using the source code in ~/mysite&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -s ~/mysite
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Example: Create a new article in ~/mysite&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo new sample.md -s ~/mysite
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;setting-a-command-alias&#34;&gt;Setting a Command Alias&lt;/h2&gt;
&lt;p&gt;In the example above, the source directory was specified after the command with the &lt;code&gt;-s ~/mysite&lt;/code&gt; option, but Hugo also works if it is specified before the command.&lt;/p&gt;
&lt;p&gt;Using this, if you set a command alias (&lt;code&gt;alias&lt;/code&gt;) like the following, it is convenient because you can run the command immediately from any directory.
&lt;strong&gt;~/.bash_profile&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87&#34;&gt;alias&lt;/span&gt; hugo-mysite&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;hugo -s ~/mysite
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For example, you can use it as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo-mysite new sample.md  &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Create a post&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo-mysite server         &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Start the Hugo server&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo-mysite                &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Build the site (output to ~/mysite/public)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>How to Configure Hugo Themes - Themes</title>
      <link>https://www.devkuma.com/en/docs/hugo/themes/</link>
      <pubDate>Tue, 09 May 2023 00:40:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/themes/</guid>
      <description>
        
        
        &lt;h2 id=&#34;downloading-a-theme&#34;&gt;Downloading a Theme&lt;/h2&gt;
&lt;p&gt;When generating a website with Hugo, you need to configure a base theme for its appearance. If you output a website with the &lt;code&gt;hugo&lt;/code&gt; command without setting a theme, a blank white page is displayed. You can create a theme yourself, but themes already created by others are published on the &lt;a href=&#34;https://themes.gohugo.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Hugo Themes&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt; page, so it is best to download and use one from there first. Usage differs slightly by theme, so read each theme&amp;rsquo;s description (&lt;code&gt;README.md&lt;/code&gt;) for details.&lt;/p&gt;
&lt;h3 id=&#34;how-to-download-a-theme-zip-file&#34;&gt;How to Download a Theme ZIP File&lt;/h3&gt;
&lt;p&gt;For example, if you like the theme &lt;a href=&#34;https://themes.gohugo.io/themes/beautifulhugo/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;&amp;ldquo;Beautiful Hugo&amp;rdquo;&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt; below, click the &lt;strong&gt;Download&lt;/strong&gt; button.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-beautifulhug.png&#34; alt=&#34;Hugo theme download button&#34;&gt;&lt;/p&gt;
&lt;p&gt;In general, you will be moved to the GitHub site. Click &amp;ldquo;Code&amp;rdquo; and then click &amp;ldquo;Download zip&amp;rdquo; to download the theme.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-beautifulhugo-github-1.png&#34; alt=&#34;Hugo theme GitHub screen&#34;&gt;&lt;/p&gt;
&lt;p&gt;Place the downloaded theme in the project&amp;rsquo;s &lt;code&gt;themes&lt;/code&gt; directory. In this case, place it in the &lt;code&gt;themes/beautifulhugo&lt;/code&gt; directory.&lt;/p&gt;
&lt;h2 id=&#34;how-to-get-a-theme-from-git&#34;&gt;How to Get a Theme from Git&lt;/h2&gt;
&lt;p&gt;Themes are managed on GitHub, so if you have an environment where you can use Git commands, it is simple to obtain one with &lt;code&gt;git clone&lt;/code&gt; as shown below. Of course, you first need to know the repository URL. You can copy the URL displayed when you click the Code button on GitHub.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-beautifulhugo-github-2.png&#34; alt=&#34;Hugo theme server first page&#34;&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ git clone https://github.com/halogenica/beautifulhugo.git beautifulhugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you manage your own site with Git, it is better to bring in the theme as a Git submodule as follows. The Git submodule command (&lt;code&gt;git submodule&lt;/code&gt;) is a little difficult, but managing a theme as a submodule lets you apply updates from the theme side appropriately.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Get the theme as a submodule&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ git submodule add https://github.com/halogenica/beautifulhugo.git beautifulhugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;When fetching theme updates&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ git submodule update --remote --recursive
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;theme-specific-settings-if-needed&#34;&gt;Theme-Specific Settings, If Needed&lt;/h2&gt;
&lt;p&gt;Some themes depend on external components and require initial setup. If a theme asks you to install related modules as shown below, run the commands as-is.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ npm install
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ npm run build
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For reference, &lt;code&gt;npm&lt;/code&gt; is a package manager for Node.js and is installed together when you install Node.js.&lt;/p&gt;
&lt;h2 id=&#34;specify-the-theme-to-use&#34;&gt;Specify the Theme to Use&lt;/h2&gt;
&lt;p&gt;You can download several themes into the &lt;code&gt;themes&lt;/code&gt; directory. Among them, set the theme you currently want to use in the Hugo configuration file as follows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;beautifulhugo&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After setting the theme, generate the website with the &lt;code&gt;hugo&lt;/code&gt; command. Based on the configured theme, files for upload such as HTML, CSS, and JS will be output to the &lt;code&gt;public&lt;/code&gt; directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;hugo server&lt;/code&gt; command uses the theme configured in &lt;code&gt;config.toml&lt;/code&gt; when starting the web server.&lt;/p&gt;
&lt;p&gt;You can also specify the theme to use with the &lt;code&gt;-t&lt;/code&gt; option when running the &lt;code&gt;hugo&lt;/code&gt; command.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo -t theme_name         // When outputting the site
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -t theme_name  // When starting the web server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Creating My Own New Hugo Theme - new theme</title>
      <link>https://www.devkuma.com/en/docs/hugo/new-themes/</link>
      <pubDate>Tue, 09 May 2023 00:40:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/new-themes/</guid>
      <description>
        
        
        &lt;h2 id=&#34;creating-a-new-theme&#34;&gt;Creating a New Theme&lt;/h2&gt;
&lt;p&gt;Hugo has many templates that are already publicly available, but you can also design and create a theme exactly as you want. To create a theme, first create a basic form with the following command.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo new theme &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;{&lt;/span&gt;theme name&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For example, running the following creates the &lt;code&gt;themes/my-theme&lt;/code&gt; directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo new theme my-theme
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The generated files look like the following. The directory structure is created, but the file contents are almost empty. Create templates based on these files.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Form of the newly created theme&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;themes/my-theme
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── LICENSE   (MIT license)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── archetypes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   └── default.md
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── layouts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   ├── 404.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   ├── _default
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   │   ├── baseof.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   │   ├── list.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   │   └── single.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   ├── index.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   └── partials
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       ├── footer.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       ├── head.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│       └── header.html
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;├── static
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   ├── css
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;│   └── js
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;└── theme.toml (basic configuration file)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;creating-the-first-page-layout-layoutsindexhtml&#34;&gt;Creating the First Page Layout (layouts/index.html)&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;layouts/index.html&lt;/code&gt; file inside the theme directory is the template file for the site&amp;rsquo;s first page. If you are creating a site made up of only one HTML file (SPA: Single Page Application), you only need to create this file. Since nothing is written in the initial state, first modify it so that only the site name is displayed at startup.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;themes/my-theme/layouts/index.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Site.Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;As shown above, you can output the value of the &lt;code&gt;Title&lt;/code&gt; field of the &lt;code&gt;.Site&lt;/code&gt; variable, which holds site information. The text set in &lt;code&gt;title&lt;/code&gt; in the site configuration file (&lt;code&gt;config.toml&lt;/code&gt;) is displayed here.&lt;/p&gt;
&lt;p&gt;After creating it up to this point, check the site using this theme. To specify the theme to use with the &lt;code&gt;hugo&lt;/code&gt; command, use the &lt;code&gt;-t {theme name}&lt;/code&gt; option.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo server -t my-theme
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After starting the Hugo server as above, access http://localhost:1313/ to check the view.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-my-theme-1.png&#34; alt=&#34;First page using my theme&#34;&gt;
&lt;em&gt;Figure: First page using my theme&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;displaying-a-list-of-all-pages-on-the-first-page&#34;&gt;Displaying a List of All Pages on the First Page&lt;/h2&gt;
&lt;p&gt;Inside the first page template (&lt;code&gt;layouts/index.html&lt;/code&gt;), you can refer to the &lt;code&gt;.Data.Pages&lt;/code&gt; variable to obtain information for all pages (Page variables). If you loop through this information with &lt;code&gt;range&lt;/code&gt;, you can output links to all pages.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;themes/my-theme/layouts/index.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Site.Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;ul&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {{ range .Data.Pages }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;li&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;a&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;{{ .RelPermalink }}&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;a&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt; ({{ .Date.Format &amp;#34;2006-01-02&amp;#34; }})&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;li&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;ul&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-my-theme-2.png&#34; alt=&#34;List page using my theme&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;creating-a-layout-for-each-page-layouts_defaultsinglehtml&#34;&gt;Creating a Layout for Each Page (layouts/_default/single.html)&lt;/h2&gt;
&lt;p&gt;Each linked page is generated based on the &lt;code&gt;layouts/_default/single.html&lt;/code&gt; template file, so this file must be created in advance. In this template, you can refer to fields of the Page variable. For example, &lt;code&gt;.Title&lt;/code&gt; refers to the page title and &lt;code&gt;.Content&lt;/code&gt; refers to the page body.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;themes/my-theme/layouts/_default/single.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ .Content }}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Prepare the content of each page in the &lt;code&gt;content/&lt;/code&gt; directory as follows.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;content/page1.md&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title: &amp;#34;Page1 Title&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date: &amp;#34;2017-09-10&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Page1 Content
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you create the layout file and content as shown above, each page&amp;rsquo;s content will be displayed as follows.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-my-theme-3.png&#34; alt=&#34;Output with a page template using my theme&#34;&gt;
&lt;em&gt;Figure: Output with a single page template&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From here, continue creating template code in the &lt;code&gt;layouts&lt;/code&gt; directory in the same way to complete your theme. Shortcodes that can be used in Markdown files can also be provided as custom theme components (&lt;code&gt;layouts/shortcodes&lt;/code&gt;).&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>How to Create Draft Posts in Hugo - Draft Page</title>
      <link>https://www.devkuma.com/en/docs/hugo/draft-page/</link>
      <pubDate>Sat, 06 May 2023 00:07:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/draft-page/</guid>
      <description>
        
        
        &lt;h2 id=&#34;draft-posts&#34;&gt;Draft Posts&lt;/h2&gt;
&lt;p&gt;Hugo&amp;rsquo;s draft feature temporarily stores unfinished article files in the same location as other articles. If &lt;code&gt;draft: true&lt;/code&gt; is written in the front matter section of a page, that page is treated as a draft.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;YAML format&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;---&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;draft&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;---&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;Body&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;TOML format&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a40000&#34;&gt;+++&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;draft&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a40000&#34;&gt;+++&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;Body&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Posts written as drafts are not output as HTML files by default. To output draft posts as well, specify the &lt;code&gt;-D&lt;/code&gt; (&lt;code&gt;--buildDrafts&lt;/code&gt;) option with the &lt;code&gt;hugo&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Output draft posts&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo -D         &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# When generating the site&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo server -D  &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# When starting the server&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;be-careful-with-draft-posts-output-to-the-public-directory&#34;&gt;Be Careful with Draft Posts Output to the public Directory&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;hugo&lt;/code&gt; command outputs HTML files and other generated files to the &lt;code&gt;public&lt;/code&gt; directory by default, but at that time it does not delete draft posts that already exist inside the &lt;code&gt;public&lt;/code&gt; directory.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo -D  &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Generates the site including draft posts.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo     &lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Even if generated later with draft mode off, existing draft posts are not deleted.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When publishing a website, be careful not to upload draft articles by mistake. Before uploading posts, it is safer to delete the &lt;code&gt;public&lt;/code&gt; directory and regenerate it with the &lt;code&gt;hugo&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux / macOS&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% rm -Rf public &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; hugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;C&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f57900&#34;&gt;\&lt;/span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;&amp;gt; rmdir /s /q public &amp;amp; hugo&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;checking-the-list-of-draft-posts&#34;&gt;Checking the List of Draft Posts&lt;/h2&gt;
&lt;h3 id=&#34;checking-from-the-command-line&#34;&gt;Checking from the Command Line&lt;/h3&gt;
&lt;p&gt;If you run &lt;code&gt;hugo list drafts&lt;/code&gt; on the command line, you can see a list of posts in the &lt;code&gt;content&lt;/code&gt; directory that are marked as drafts, meaning their front matter contains &lt;code&gt;draft: true&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo list drafts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;content/draft.md
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;content/post/sample2.md
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;blockquote&gt;
&lt;p&gt;Reference: &lt;a href=&#34;https://gohugo.io/commands/hugo_list_drafts/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;hugo list drafts | Hugo&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;checking-in-a-template&#34;&gt;Checking in a Template&lt;/h2&gt;
&lt;p&gt;To list links to draft posts in a template file, write the following first.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;layouts/index.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h2&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;Draft Pages&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h2&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;ul&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {{ range (where .Site.Pages &amp;#34;.Draft&amp;#34; true) }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;li&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;a&lt;/span&gt; &lt;span style=&#34;color:#c4a000&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;{{ .RelPermalink }}&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;a&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;li&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  {{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;ul&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;The part written as &lt;code&gt;where .Site.Page &amp;quot;.Draft&amp;quot; true&lt;/code&gt; specifies the search condition for extracting draft posts.&lt;/li&gt;
&lt;li&gt;It specifies that all pages in the site (&lt;code&gt;.Site.Pages&lt;/code&gt;) whose page variable &lt;code&gt;.Draft&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt; (&lt;code&gt;&amp;quot;.Draft&amp;quot; true&lt;/code&gt;) should be listed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then run the startup command with the &lt;code&gt;-D&lt;/code&gt; option.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo server -D
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;determining-whether-a-post-is-a-draft&#34;&gt;Determining Whether a Post Is a Draft&lt;/h2&gt;
&lt;p&gt;To check in a template file whether the currently rendered article is a draft, meaning &lt;code&gt;draft: true&lt;/code&gt; is written in the front matter, refer to the page variable &lt;code&gt;.Draft&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;layouts/_default/single.html&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;{{ .Title }}&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;h1&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ if .Draft }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;b&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;Warning: This post is still a draft.&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;b&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;{{ end }}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Of course, it will only be visible if you start Hugo with the &lt;code&gt;-D&lt;/code&gt; option.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>How to Create Hugo Posts</title>
      <link>https://www.devkuma.com/en/docs/hugo/new-post/</link>
      <pubDate>Fri, 05 May 2023 23:34:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/new-post/</guid>
      <description>
        
        
        &lt;h2 id=&#34;creating-a-new-post-file&#34;&gt;Creating a New Post File&lt;/h2&gt;
&lt;p&gt;Website posts published with Hugo are created as Markdown files in the &lt;code&gt;content&lt;/code&gt; directory, for example &lt;code&gt;sample.md&lt;/code&gt;. You can create a post file from an empty text file, but by using the &lt;code&gt;hugo new&lt;/code&gt; command, you can automatically generate a Markdown file based on a post archetype file (&lt;code&gt;archetypes/default.md&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;Create a post file (Markdown file).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo new sample.md
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Content &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;/Users/user/my-site/content/sample.md&amp;#34;&lt;/span&gt; created
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When you run it as above, the &lt;code&gt;sample.md&lt;/code&gt; file is created in the &lt;code&gt;content&lt;/code&gt; directory. At the beginning of the created file, a header called front matter is written as shown below. This header is automatically generated based on &lt;code&gt;archetypes/default.md&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;content/sample.md&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title: &amp;#34;Sample&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date: 2023-05-05T23:50:09+09:00
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;draft: true
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then rewrite the title (&lt;code&gt;title&lt;/code&gt;) as you like, and write the article body after the front matter header. When the article has reached a publishable level, delete the &lt;code&gt;draft: true&lt;/code&gt; line in the header.&lt;/p&gt;
&lt;h2 id=&#34;archetypes&#34;&gt;Archetypes&lt;/h2&gt;
&lt;p&gt;Now let&amp;rsquo;s look at the &lt;code&gt;archetypes/default.md&lt;/code&gt; file that serves as the basis.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;archetypes/default.md&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title: {{ replace .TranslationBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date: {{ .Date }}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;draft: true
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;title&lt;/code&gt; field is automatically filled with the name specified by the &lt;code&gt;hugo new&lt;/code&gt; command, and the &lt;code&gt;date&lt;/code&gt; field is automatically filled with the current time. From this, you can see that the post file is created based on the contents of this file.&lt;/p&gt;
&lt;h2 id=&#34;start-editing-in-an-editor-while-creating-a-post&#34;&gt;Start Editing in an Editor While Creating a Post&lt;/h2&gt;
&lt;p&gt;When creating a post file with the &lt;code&gt;hugo new&lt;/code&gt; command, specifying the &lt;code&gt;--editor&lt;/code&gt; option opens the file in the specified editor at the same time the post file is created.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example: Create an article file and open it in vim&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo new sample.md --editor vim
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When you run it for the first time, you may see an error like the following.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo new sample.md --editor vi
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Content &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;/Users/user/hugo-tutorial/my-site/content/sample.md&amp;#34;&lt;/span&gt; created
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Editing &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;/Users/user/hugo-tutorial/my-site/content/sample.md&amp;#34;&lt;/span&gt; with &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;vi&amp;#34;&lt;/span&gt; ...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Error: access denied: &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;vi&amp;#34;&lt;/span&gt; is not whitelisted in policy &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;security.exec.allow&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;;&lt;/span&gt; the current security configuration is:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;security&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;enableInlineShortcodes&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87&#34;&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;security.exec&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;allow&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^dart-sass-embedded$&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^go$&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^npx$&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^postcss$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;osEnv&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM)$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;security.funcs&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;getenv&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^HUGO_&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;security.http&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;methods&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;(?i)GET|POST&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;urls&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;.*&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;As the message indicates, copy the default policy into &lt;code&gt;config.toml&lt;/code&gt; and add &lt;code&gt;&#39;^vim$&#39;&lt;/code&gt; to the &lt;code&gt;allow&lt;/code&gt; array.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;security&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000&#34;&gt;enableInlineShortcodes&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;false&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;security&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;exec&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;allow&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^dart-sass-embedded$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^go$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^npx$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^postcss$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;,&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^vim$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;osEnv&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM)$&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;security&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;funcs&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;getenv&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;^HUGO_&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;security&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;http&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;methods&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;(?i)GET|POST&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#000&#34;&gt;urls&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;.*&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then try again and it should run. However, because the post file is created before the editor opens, you may see a message saying the file already exists.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo new sample.md --editor vim
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Error: /Users/user/hugo-tutorial/my-site/content/sample.md already exists
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In that case, delete the existing file and run the command again.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Creating a New Hugo Website</title>
      <link>https://www.devkuma.com/en/docs/hugo/new-site/</link>
      <pubDate>Fri, 05 May 2023 18:17:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/new-site/</guid>
      <description>
        
        
        &lt;h2 id=&#34;creating-the-site-skeleton&#34;&gt;Creating the Site Skeleton&lt;/h2&gt;
&lt;p&gt;First, &lt;a href=&#34;https://www.devkuma.com/en/docs/hugo/overview/#installing-hugo&#34;&gt;install Hugo&lt;/a&gt; and prepare an environment where the &lt;code&gt;hugo&lt;/code&gt; command can be used.
Then, as shown below, use the &lt;code&gt;hugo new site&lt;/code&gt; command to create the initial directory skeleton for the website.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Create a new website (my-site)&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo new site my-site
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Congratulations! Your new Hugo site is created in /Users/user/hugo-tutorial/my-site.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Just a few more steps and you&lt;span style=&#34;color:#a40000&#34;&gt;&amp;#39;&lt;/span&gt;re ready to go:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;1. Download a theme into the same-named folder.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Choose a theme from https://themes.gohugo.io/ or
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   create your own with the &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;hugo new theme &amp;lt;THEMENAME&amp;gt;&amp;#34;&lt;/span&gt; command.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;2. Perhaps you want to add some content. You can add single files
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   with &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;hugo new &amp;lt;SECTIONNAME&amp;gt;/&amp;lt;FILENAME&amp;gt;.&amp;lt;FORMAT&amp;gt;&amp;#34;&lt;/span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;3. Start the built-in live server via &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;hugo server&amp;#34;&lt;/span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Visit https://gohugo.io/ &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;for&lt;/span&gt; quickstart guide and full documentation.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The generated files are very simple: only two files and a few directories, as shown below.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;└── my-site
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── archetypes     : Template files used when creating new pages
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    │   └── default.md
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── config.toml    : Site-wide configuration file
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── content        : Location for content. Place Markdown files that become site content here.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── data           : Data used when generating the site
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── layouts        : Location for layout templates
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── public         : Location for generated HTML, CSS, images, and other deployed files
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ├── static         : Location for files, such as images, copied as-is during site generation
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    └── themes         : Location for theme directories. The actual theme to use is specified in config.toml.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you start the server in this state, it shows &amp;ldquo;Page Not Found&amp;rdquo;.&lt;/p&gt;
&lt;h2 id=&#34;installing-and-configuring-a-site-theme&#34;&gt;Installing and Configuring a Site Theme&lt;/h2&gt;
&lt;p&gt;After creating a new website in Hugo, configure a theme that defines its appearance. A site created with &lt;code&gt;hugo new site&lt;/code&gt; does not include a theme, so you need to download one from the &lt;a href=&#34;https://themes.gohugo.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;themes published on the site&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here, we will apply a theme called &lt;a href=&#34;https://themes.gohugo.io/themes/mainroad/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;mainroad&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hugo themes can be stored by creating a theme directory under the &lt;code&gt;themes&lt;/code&gt; directory. Because each theme is stored in a separate directory, you can download several themes in advance and easily switch the theme you use.&lt;br&gt;
Themes are usually distributed on GitHub, so if Git is installed, you can apply one easily with &lt;code&gt;git clone&lt;/code&gt; from the root path as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% &lt;span style=&#34;color:#204a87&#34;&gt;cd&lt;/span&gt; themes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% git clone https://github.com/vimux/mainroad
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Or you can run the command all at once as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% git clone https://github.com/vimux/mainroad themes/mainroad
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If the &lt;code&gt;themes/mainroad&lt;/code&gt; directory was created by the command above, next add the following content to the Hugo configuration file (&lt;code&gt;config.toml&lt;/code&gt;) so that this theme is used.&lt;br&gt;
&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;mainroad&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This completes the theme configuration.&lt;/p&gt;
&lt;h2 id=&#34;setting-the-site-title-and-language&#34;&gt;Setting the Site Title and Language&lt;/h2&gt;
&lt;p&gt;In the site configuration file, in addition to the theme setting, you should configure the site title (&lt;code&gt;title&lt;/code&gt;) and the language used by the whole site (&lt;code&gt;languageCode&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;config.toml&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-toml&#34; data-lang=&#34;toml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;baseURL&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;http://devkuma.com/&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;languageCode&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;ko-kr&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;title&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;My New Hugo Site&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000&#34;&gt;theme&lt;/span&gt; &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;mainroad&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;&lt;div class=&#34;h4 alert-heading&#34; role=&#34;heading&#34;&gt;Info&lt;/div&gt;


The values configured here can be referenced in template files as `{{ .Site.Title }}`, `{{ .Site.BaseURL }}`, and `{{ .Site.LanguageCode }}`.
&lt;/div&gt;

&lt;h2 id=&#34;writing-a-post&#34;&gt;Writing a Post&lt;/h2&gt;
&lt;p&gt;Here, let&amp;rsquo;s write one example post. If you run the &lt;code&gt;hugo new&lt;/code&gt; command as follows, a post file (Markdown file) is automatically created under the &lt;code&gt;content&lt;/code&gt; directory. Run the command from the top-level directory of the project.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo new post/sample.md
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This creates the &lt;code&gt;content/post/sample.md&lt;/code&gt; file. Edit it in the following format.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;content/post/sample.md&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title: &amp;#34;Post Title&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date: 2023-05-05T23:19:43+09:00
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#000080;font-weight:bold&#34;&gt;#draft: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;---
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Post body  
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Post body  
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Post body  
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If the &lt;code&gt;draft: true&lt;/code&gt; line in the header is not removed or commented out, the page will not be output, so that line must be removed.&lt;/p&gt;
&lt;h2 id=&#34;starting-the-hugo-web-server&#34;&gt;Starting the Hugo Web Server&lt;/h2&gt;
&lt;p&gt;After configuring the website theme and writing an article, run the &lt;code&gt;hugo server&lt;/code&gt; command to start the web server.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo server
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Start building sites …
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo v0.104.3+extended darwin/arm64 &lt;span style=&#34;color:#000&#34;&gt;BuildDate&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;unknown
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                   &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt; EN
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;-------------------+-----
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Pages            &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;7&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Paginator pages  &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Non-page files   &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Static files     &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;5&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Processed images &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Aliases          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Sitemaps         &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  Cleaned          &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt;  &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Built in &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;7&lt;/span&gt; ms
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Watching &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;for&lt;/span&gt; changes in /Users/user/hugo-tutorial/my-site/&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;{&lt;/span&gt;archetypes,content,data,layouts,static,themes&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Watching &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;for&lt;/span&gt; config changes in /Users/user/hugo-tutorial/my-site/config.toml
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Environment: &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;development&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Serving pages from memory
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Web Server is available at http://localhost:1313/ &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#204a87&#34;&gt;bind&lt;/span&gt; address 127.0.0.1&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Press Ctrl+C to stop
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It takes only 7 ms to start the Hugo server. It is extremely fast.&lt;/p&gt;
&lt;p&gt;With the Hugo server running, open &lt;code&gt;http://localhost:1313/&lt;/code&gt; in a web browser and the first page of the site will be displayed.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/hugo/hugo-mainroad-main.png&#34; alt=&#34;First page of the Hugo server&#34;&gt;&lt;/p&gt;
&lt;p&gt;From then on, continue writing posts with the &lt;code&gt;hugo new&lt;/code&gt; command. The Hugo server monitors changes in the &lt;code&gt;content&lt;/code&gt; directory and automatically refreshes when posts are created or modified, so once the Hugo server has been started, it does not need to be restarted.&lt;/p&gt;
&lt;p&gt;The way to customize posts differs slightly by theme, so refer to each theme&amp;rsquo;s site for details.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Starting and Closing Excel</title>
      <link>https://www.devkuma.com/en/docs/excel/basic/1/</link>
      <pubDate>Tue, 24 Jan 2023 17:15:19 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/excel/basic/1/</guid>
      <description>
        
        
        &lt;h2 id=&#34;starting-excel&#34;&gt;Starting Excel&lt;/h2&gt;
&lt;p&gt;On the Windows 10 screen, click Start, then click Excel in the displayed app list.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-11.png&#34; alt=&#34;Start Excel&#34;&gt;&lt;/p&gt;
&lt;p&gt;Excel starts and the home screen is displayed.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-12.png&#34; alt=&#34;Start Excel&#34;&gt;&lt;/p&gt;
&lt;p&gt;You can open and use a workbook that has already been created, or you can create a new workbook. To create a new document, click &amp;ldquo;Blank workbook&amp;rdquo;.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-13.png&#34; alt=&#34;Start Excel&#34;&gt;&lt;/p&gt;
&lt;p&gt;A new workbook has been created.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-14.png&#34; alt=&#34;Start Excel&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;closing-excel&#34;&gt;Closing Excel&lt;/h2&gt;
&lt;p&gt;To close Excel, click the &amp;ldquo;x&amp;rdquo; displayed in the upper-right corner of the Excel screen.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-21.png&#34; alt=&#34;Close Excel&#34;&gt;&lt;/p&gt;
&lt;p&gt;Excel has closed.&lt;/p&gt;
&lt;p&gt;If the currently open workbook contains unsaved items when you close Excel, a dialog similar to the following is displayed.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-start-close-22.png&#34; alt=&#34;Close Excel&#34;&gt;&lt;/p&gt;
&lt;p&gt;To save the workbook and then close Excel, click Save. To close Excel without saving, click Don&amp;rsquo;t Save. Saving documents is explained on another page.&lt;/p&gt;

      </description>
      
      <category>Excel</category>
      
    </item>
    
    <item>
      <title>Excel Screen Layout</title>
      <link>https://www.devkuma.com/en/docs/excel/basic/2/</link>
      <pubDate>Tue, 24 Jan 2023 17:15:19 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/excel/basic/2/</guid>
      <description>
        
        
        &lt;h2 id=&#34;excel-screen&#34;&gt;Excel Screen&lt;/h2&gt;
&lt;p&gt;When you start Excel, a screen similar to the following is displayed.
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-10.png&#34; alt=&#34;Excel screen&#34;&gt;&lt;/p&gt;
&lt;p&gt;The main parts used are the worksheet, tabs, ribbon, and formula bar. Here, we will briefly explain what is displayed on the Excel screen, such as the Quick Access Toolbar and zoom slider.&lt;/p&gt;
&lt;h2 id=&#34;quick-access-toolbar&#34;&gt;Quick Access Toolbar&lt;/h2&gt;
&lt;p&gt;The item displayed at the upper left is the &amp;ldquo;Quick Access Toolbar&amp;rdquo;. Frequently used commands are displayed there.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-20.png&#34; alt=&#34;Excel Quick Access Toolbar&#34;&gt;&lt;/p&gt;
&lt;p&gt;By default, the commands shown from the left are &amp;ldquo;AutoSave&amp;rdquo;, &amp;ldquo;Save&amp;rdquo;, &amp;ldquo;Undo&amp;rdquo;, and &amp;ldquo;Redo&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;You can customize the commands displayed on the Quick Access Toolbar. Click the icon in the following location.
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-21.png&#34; alt=&#34;Excel Quick Access Toolbar&#34;&gt;&lt;/p&gt;
&lt;p&gt;A list of commands that can be added to the Quick Access Toolbar is displayed. Items with check marks are currently displayed buttons. For example, click Print Preview and Print.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-22.png&#34; alt=&#34;Excel Quick Access Toolbar&#34;&gt;&lt;/p&gt;
&lt;p&gt;The &amp;ldquo;Print Preview and Print&amp;rdquo; command has been added to the Quick Access Toolbar. It is useful to display frequently used commands on the Quick Access Toolbar.
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-23.png&#34; alt=&#34;Excel Quick Access Toolbar&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;tabs&#34;&gt;Tabs&lt;/h2&gt;
&lt;p&gt;Displayed below the Quick Access Toolbar are the &amp;ldquo;tabs&amp;rdquo;. Currently nine tabs are displayed.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-30.png&#34; alt=&#34;Excel tabs&#34;&gt;&lt;/p&gt;
&lt;p&gt;When you click a tab, the contents of the ribbon displayed below it change. The &amp;ldquo;Home&amp;rdquo; tab is currently selected; if you click the &amp;ldquo;Insert&amp;rdquo; tab, the ribbon contents change for the Insert tab.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-31.png&#34; alt=&#34;Excel tabs&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-32.png&#34; alt=&#34;Excel tabs&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;file-tab&#34;&gt;File Tab&lt;/h2&gt;
&lt;p&gt;The File tab is one of the tabs, but while clicking other tabs displays the ribbon, clicking the File tab displays the following screen.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-40.png&#34; alt=&#34;Excel File tab&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-41.png&#34; alt=&#34;Excel File tab&#34;&gt;&lt;/p&gt;
&lt;p&gt;A menu is displayed where you can create a new workbook or save the current workbook.&lt;/p&gt;
&lt;p&gt;If you click Options in the lower-left menu, you can also display the Options screen for configuring various Excel settings.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-42.png&#34; alt=&#34;Excel File tab&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;ribbon&#34;&gt;Ribbon&lt;/h2&gt;
&lt;p&gt;When you click a tab other than the File tab, the ribbon is displayed as follows. The contents displayed in the ribbon differ by tab. For example, clicking the Home tab displays the following ribbon.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-50.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;Clicking the Formulas tab displays the following ribbon.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-51.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;The ribbon can always be displayed, or you can close it by pressing the close button near the lower right of the ribbon so that it normally stays closed and appears only when you click a tab.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-52.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-53.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-54.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;Closing the ribbon lets you use Excel with a wider workspace.&lt;/p&gt;
&lt;p&gt;If you want the ribbon to always be displayed again, click the pin button near the lower right of the ribbon to pin it again.
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-55.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;name-box&#34;&gt;Name Box&lt;/h2&gt;
&lt;p&gt;The green box displayed in the following location is the &amp;ldquo;Name Box&amp;rdquo;.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-60.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Name Box displays the position of the selected cell in the current worksheet. For example, because cell A1 is currently selected, A1 is displayed in the Name Box.
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-61.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now enter E5 in the Name Box and press &lt;code&gt;Enter&lt;/code&gt;. The cell E5 you just entered becomes selected.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-62.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-window-layout-63.png&#34; alt=&#34;Excel ribbon&#34;&gt;&lt;/p&gt;

      </description>
      
      <category>Excel</category>
      
    </item>
    
    <item>
      <title>Checking the Excel Version</title>
      <link>https://www.devkuma.com/en/docs/excel/basic/4/</link>
      <pubDate>Tue, 24 Jan 2023 16:41:38 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/excel/basic/4/</guid>
      <description>
        
        
        &lt;h2 id=&#34;checking-the-excel-version&#34;&gt;Checking the Excel Version&lt;/h2&gt;
&lt;p&gt;To check the Excel version, start Excel and click the File tab.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-version-1.png&#34; alt=&#34;Check Excel version&#34;&gt;&lt;/p&gt;
&lt;p&gt;Click &amp;ldquo;Account&amp;rdquo; displayed at the bottom left of the screen.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-version-2.png&#34; alt=&#34;Check Excel version&#34;&gt;&lt;/p&gt;
&lt;p&gt;The name of the Office product is displayed under Product Information. To see detailed version information, click &amp;ldquo;About Excel&amp;rdquo; near the bottom.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-version-3.png&#34; alt=&#34;Check Excel version&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Excel version currently in use is displayed.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/excel/excel-version-4.png&#34; alt=&#34;Check Excel version&#34;&gt;&lt;/p&gt;
&lt;p&gt;In this environment, &amp;ldquo;Microsoft® Excel® MSO for Microsoft 365 (Version 2212 Build 16.0.15928.20196) 64-bit&amp;rdquo; was displayed.&lt;/p&gt;

      </description>
      
      <category>Excel</category>
      
    </item>
    
    <item>
      <title>Main Memory (Memory) ROM, RAM</title>
      <link>https://www.devkuma.com/en/docs/memory/</link>
      <pubDate>Wed, 30 Nov 2022 00:21:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/memory/</guid>
      <description>
        
        
        &lt;h2 id=&#34;main-memory-memory&#34;&gt;Main Memory (Memory)&lt;/h2&gt;
&lt;h3 id=&#34;overview-of-romrom-bios&#34;&gt;Overview of ROM/ROM BIOS&lt;/h3&gt;
&lt;p&gt;ROM (Read Only Memory) is a read-only memory element and is used in computers to store the BIOS.&lt;br&gt;
The Basic Input/Output System is the basic program for operating a computer.&lt;br&gt;
It contains basic information about each device in the computer and diagnoses each device.&lt;br&gt;
When the power is turned on, it starts the computer and diagnoses itself. The BIOS must never be erased, so it is stored in ROM, which is non-volatile memory.&lt;/p&gt;
&lt;h3 id=&#34;ram&#34;&gt;RAM&lt;/h3&gt;
&lt;p&gt;RAM (Random Access Memory) is also called RWM (Read Write Memory). Because all information stored inside disappears when the computer is turned off, it is called volatile memory. RAM is a memory device that allows data to be read and written freely. Since it is volatile, all contents in memory are erased when power is cut off.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How DRAM Stores Data&lt;/strong&gt;&lt;br&gt;
DRAM (Dynamic RAM) stores data using the principle that capacitors store electricity. What we call data in a computer is actually the flow of electrical signals. Computer data is represented by 1s and 0s, which respectively mean a state where electricity flows and a state where it does not. If this electrical state can be maintained, that is storage. The most common media for storing electricity are electronic components called capacitors or batteries.&lt;br&gt;
For example, to store the data 10101010, prepare eight capacitors and store the data by charging those corresponding to 1 and not charging those corresponding to 0. This stores the data 10101010. DRAM is a device that stores data using this capacitor principle.&lt;br&gt;
However, electricity once stored in a capacitor or battery does not last forever. Even when it is not used, natural discharge occurs, and after a certain amount of time data is lost. Therefore, RAM performs a refresh, or recharge, operation to maintain its current state before data is lost. When the computer is turned off, RAM cannot perform this refresh, so the data is lost. In other words, it has volatile properties. DRAM has long been used as an element for computer main memory because its principle is simple and it is easy to manufacture, but it is now being improved into new forms because refresh operations increase waiting time.&lt;/p&gt;
&lt;h3 id=&#34;types-of-ram&#34;&gt;Types of RAM&lt;/h3&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Category&lt;/th&gt;
          &lt;th&gt;DRAM&lt;/th&gt;
          &lt;th&gt;SRAM&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Refresh&lt;/td&gt;
          &lt;td&gt;Required&lt;/td&gt;
          &lt;td&gt;Not required&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Access speed&lt;/td&gt;
          &lt;td&gt;Slow&lt;/td&gt;
          &lt;td&gt;Fast&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Circuit structure&lt;/td&gt;
          &lt;td&gt;Simple&lt;/td&gt;
          &lt;td&gt;Complex&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Integration density&lt;/td&gt;
          &lt;td&gt;High&lt;/td&gt;
          &lt;td&gt;Low&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Price&lt;/td&gt;
          &lt;td&gt;Cheap&lt;/td&gt;
          &lt;td&gt;Expensive&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Use&lt;/td&gt;
          &lt;td&gt;Main memory&lt;/td&gt;
          &lt;td&gt;Cache memory&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;Comparison of DRAM and SRAM&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;&lt;/td&gt;
          &lt;td&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;types-of-dram&#34;&gt;Types of DRAM&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;SDRAM&lt;/strong&gt;&lt;br&gt;
SDRAM is DRAM whose clock speed is synchronized with the microprocessor. Clock speed synchronization helps increase the number of instructions the processor can execute within a given time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DDR SDRAM&lt;/strong&gt;&lt;br&gt;
DDR (Double Data Rate) memory SDRAM is the name given to memory that can transfer twice as much data as previous SDRAM. DDR memory has two standards, PC2100 and PC1600, but they do not actually operate at 2100 MHz and 1600 MHz respectively. DDR SDRAM operating on a 100 MHz memory bus has a speed around PC200, and when operating on a 133 MHz bus, around PC266.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DDR2 SDRAM&lt;/strong&gt;&lt;br&gt;
DRAM that improves the operating speed of DDR SDRAM by two times.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rambus DRAM&lt;/strong&gt;&lt;br&gt;
Rambus DRAM is DRAM connected through the Rambus Channel, a data transfer bus developed by the American company Rambus. This channel uses a 9-bit bus and transfers data synchronized with a 250 MHz clock.&lt;/p&gt;

      </description>
      
      <category>Computer</category>
      
    </item>
    
    <item>
      <title>Hugo Blog</title>
      <link>https://www.devkuma.com/en/docs/hugo/</link>
      <pubDate>Tue, 29 Nov 2022 21:42:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/</guid>
      <description>
        
        
        
      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>Docusaurus Documentation Generator</title>
      <link>https://www.devkuma.com/en/docs/docusaurus/</link>
      <pubDate>Tue, 29 Nov 2022 21:42:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/docusaurus/</guid>
      <description>
        
        
        &lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/docusaurus/docusaurus-eyecatch-960x504.png&#34; alt=&#34;docusaurus&#34;&gt;&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>How to Use Excel</title>
      <link>https://www.devkuma.com/en/docs/excel/</link>
      <pubDate>Tue, 29 Nov 2022 21:42:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/excel/</guid>
      <description>
        
        
        
      </description>
      
      <category>Excel</category>
      
    </item>
    
    <item>
      <title>Central Processing Unit (CPU)</title>
      <link>https://www.devkuma.com/en/docs/cpu/</link>
      <pubDate>Mon, 07 Nov 2022 10:45:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/cpu/</guid>
      <description>
        
        
        &lt;h2 id=&#34;central-processing-unit-cpu&#34;&gt;Central Processing Unit (CPU)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;CPU stands for &lt;strong&gt;C&lt;/strong&gt;entral &lt;strong&gt;P&lt;/strong&gt;rocessing &lt;strong&gt;U&lt;/strong&gt;nit.&lt;/li&gt;
&lt;li&gt;It contains a control unit that operates each device in the computer and controls normal operation.&lt;/li&gt;
&lt;li&gt;It contains an arithmetic unit that processes various computational data.&lt;/li&gt;
&lt;li&gt;It contains registers for temporarily storing data.&lt;/li&gt;
&lt;li&gt;It contains an arithmetic logic unit and performs computational functions.&lt;/li&gt;
&lt;li&gt;It determines computer performance and the type of system.
&lt;ul&gt;
&lt;li&gt;It determines the type of computer.&lt;/li&gt;
&lt;li&gt;It determines computer performance.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Execution Unit (EU)&lt;/strong&gt;&lt;br&gt;
The execution unit is the unit that executes each instruction in a microprocessor.&lt;br&gt;
The execution unit consists of the ALU (Arithmetic Logic Unit), the control unit (CU), and registers.&lt;br&gt;
The ALU performs arithmetic operations, such as addition and comparison, as well as logical operations, and stores intermediate results in registers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Instruction Unit&lt;/strong&gt;&lt;br&gt;
The instruction unit controls instructions fetched from memory so that they can be executed correctly by the execution unit.&lt;br&gt;
At this time, the control unit ensures that the ALU and registers operate correctly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Addressing Unit&lt;/strong&gt;&lt;br&gt;
The addressing unit creates memory or input/output addresses when the CPU reads data from, or writes data to, memory or input/output devices.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bus Interface Unit&lt;/strong&gt;&lt;br&gt;
The bus interface unit connects the microprocessor to the outside through the address, data, and control buses.&lt;/p&gt;
&lt;h2 id=&#34;cache-memory&#34;&gt;Cache Memory&lt;/h2&gt;
&lt;p&gt;Cache memory is one type of buffer memory temporarily used inside the CPU.&lt;/p&gt;
&lt;h3 id=&#34;understanding-cache-memory&#34;&gt;Understanding Cache Memory&lt;/h3&gt;
&lt;p&gt;A cache is a temporary storage device located between two devices with different speeds. It improves the speed of data access between devices and improves processing speed during repeated access.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;When cache is not applied&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run a program called TEST.EXE.&lt;/li&gt;
&lt;li&gt;Load TEST.EXE from (1) auxiliary storage, such as a hard disk, into (3) main memory.&lt;/li&gt;
&lt;li&gt;When the program exits, the program loaded in (3) disappears.&lt;/li&gt;
&lt;li&gt;Run the same program again.&lt;/li&gt;
&lt;li&gt;The program is loaded from (1) into (3) again. In this case, the user must wait each time while the program is read from (1).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;When cache is applied&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Run TEST.EXE.&lt;/li&gt;
&lt;li&gt;While the program is loaded from (1) into (3), it is also written to (2).&lt;/li&gt;
&lt;li&gt;When the program exits, the program loaded in (3) disappears. However, what was stored in (2) is not erased.&lt;/li&gt;
&lt;li&gt;Run the same program again.&lt;/li&gt;
&lt;li&gt;This time, the program is loaded from (2), not from (1). From the perspective of (3), the same program is being loaded, but the first time it was loaded from slower auxiliary storage. From the second time onward, repeated loading occurs from faster cache memory, which improves speed.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;clock-operating-frequency&#34;&gt;Clock (Operating Frequency)&lt;/h2&gt;
&lt;p&gt;A clock is a unit that represents CPU speed. A clock refers to the time it takes for a waveform to move once in one second, and CPU speed changes depending on the amount of data processed during that time.&lt;br&gt;
It is written in Hz. In general, the higher the clock value, the faster the performance.&lt;br&gt;
However, if only the clock is raised to improve performance, power consumption increases and heat generation can become severe, so this must also be considered.&lt;/p&gt;
&lt;h3 id=&#34;clock-and-fsb&#34;&gt;Clock and FSB&lt;/h3&gt;
&lt;p&gt;A clock is an electrical rhythm that oscillates at a fixed cycle and is generated by the motherboard&amp;rsquo;s clock generator to operate the CPU and other devices. It is expressed in MHz (megahertz).&lt;/p&gt;
&lt;p&gt;1 Hz is a clock that oscillates once per second, and a CPU basically processes one instruction per clock.&lt;/p&gt;
&lt;p&gt;It is used as a unit for expressing the speed of the CPU and the system.&lt;/p&gt;
&lt;p&gt;FSB (Front Side Bus) is another name for the clock generated by the motherboard&amp;rsquo;s clock generator and supplied to each device. It is also called the external clock. The CPU and devices inside the computer operate according to the clock speed supplied by the clock generator. However, the CPU does not use the supplied clock as-is. It uses &amp;ldquo;clock doubling&amp;rdquo; to increase that speed several times before using it.&lt;/p&gt;
&lt;h2 id=&#34;core&#34;&gt;Core&lt;/h2&gt;
&lt;p&gt;A core is the central part of the processing circuit built into the central processing unit. In the past, when computers were not as widespread, it was natural for one CPU to have one core.&lt;br&gt;
However, dual-core processors with two cores appeared in 2005, making multi-core processors popular in general PCs. Later, processors with four, six, and even eight cores appeared.&lt;/p&gt;
&lt;p&gt;A dual-core processor can reduce work that a single core would have processed in two steps to one step. Therefore, it has the advantage of improving overall processing efficiency.&lt;/p&gt;
&lt;h2 id=&#34;virtualization-support&#34;&gt;Virtualization Support&lt;/h2&gt;
&lt;p&gt;Virtualization support, simply put, means running another operating system inside an operating system. For example, it is a technology that allows Linux or another operating system to run inside Windows, just as a program runs after Windows starts. Intel CPUs support virtualization under the name &amp;ldquo;VT-x&amp;rdquo;, and AMD CPUs under the name &amp;ldquo;AMD-V&amp;rdquo;. To build a cloud environment with servers, it is essential to check whether the CPU supports virtualization.&lt;/p&gt;
&lt;h2 id=&#34;types-of-cpus&#34;&gt;Types of CPUs&lt;/h2&gt;
&lt;h3 id=&#34;cpu-types-by-data-processing-capacity&#34;&gt;CPU Types by Data Processing Capacity&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Classification according to the amount of data that can be processed simultaneously.&lt;/li&gt;
&lt;li&gt;The width of the bus, which is the path that transfers data.&lt;/li&gt;
&lt;li&gt;8 bits is the minimum unit of data processed by a computer.&lt;/li&gt;
&lt;li&gt;Development progressed from 8088 (8-bit) to 80286 (16-bit), 80386 (32-bit), and Pentium (64-bit).&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;arm&#34;&gt;ARM&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Licensed products from companies such as Apple and Samsung.&lt;/li&gt;
&lt;li&gt;ARM chips are small, generate less heat, and consume less power. They do not require a cooling fan. However, they have tended to be limited to specialized uses.&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>Computer</category>
      
    </item>
    
    <item>
      <title>Introduction to Computers</title>
      <link>https://www.devkuma.com/en/docs/computer/science/</link>
      <pubDate>Tue, 01 Nov 2022 00:27:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/computer/science/</guid>
      <description>
        
        
        
      </description>
      
      <category>Computer</category>
      
    </item>
    
    <item>
      <title>Hugo Overview and Installation</title>
      <link>https://www.devkuma.com/en/docs/hugo/overview/</link>
      <pubDate>Wed, 19 Oct 2022 08:22:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/hugo/overview/</guid>
      <description>
        
        
        &lt;h2 id=&#34;what-is-a-static-site-generator&#34;&gt;What Is a Static Site Generator?&lt;/h2&gt;
&lt;p&gt;A Static Site Generator (SSG) is a tool for creating websites based on static pages. It reads content and files and converts them appropriately into HTML.&lt;/p&gt;
&lt;p&gt;You can check the available types of SSGs &lt;a href=&#34;https://jamstack.org/generators/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;here&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;. Among them, the major SSGs often used with GitHub are as follows.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Jekyll&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ruby-based&lt;/li&gt;
&lt;li&gt;Currently the most popular (the largest number on GitHub)&lt;/li&gt;
&lt;li&gt;Has the most Korean reference documents&lt;/li&gt;
&lt;li&gt;Builds are relatively slow&lt;/li&gt;
&lt;li&gt;Windows is not officially supported&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hexo&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Node.js-based&lt;/li&gt;
&lt;li&gt;Has many Chinese documents&lt;/li&gt;
&lt;li&gt;Has many Korean reference documents&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hugo&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Golang-based&lt;/li&gt;
&lt;li&gt;Builds quickly&lt;/li&gt;
&lt;li&gt;Well documented&lt;/li&gt;
&lt;li&gt;Does not have many Korean reference documents&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-is-hugo&#34;&gt;What Is Hugo?&lt;/h2&gt;
&lt;p&gt;Hugo is one of the static site generators, like Jekyll and Hexo, that makes it easy to create websites. It can be considered a kind of blog engine.&lt;br&gt;
Pages can be written in Markdown, and many blog themes are available, so you can choose and use the theme you want.&lt;/p&gt;
&lt;h2 id=&#34;installing-hugo&#34;&gt;Installing Hugo&lt;/h2&gt;
&lt;p&gt;Download and install the package for your OS from the site below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/gohugoio/hugo/releases&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://github.com/gohugoio/hugo/releases&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Alternatively, refer to the site below and install it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/getting-started/installing/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://gohugo.io/getting-started/installing/&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;installing-with-homebrew-on-macos&#34;&gt;Installing with Homebrew on macOS&lt;/h3&gt;
&lt;p&gt;With Homebrew, the package manager for macOS, you can easily install Hugo with the following single command.&lt;/p&gt;
&lt;p&gt;The command to install with Homebrew is as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install hugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Run the actual command.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% brew install &lt;span style=&#34;color:#000&#34;&gt;hugo&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Downloading https://ghcr.io/v2/homebrew/core/hugo/manifests/0.104.3
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;######################################################################## 100.0%&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Downloading https://ghcr.io/v2/homebrew/core/hugo/blobs/sha256:3b355290c70c54cf0637a9ed70342d289c9f022e4d085e18cb0e4651e3bbe21b
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:3b355290c70c54cf0637a9ed70342d289c9f022e4d085e18cb0e4651e3bbe21b?se&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;2022-10-18T23%3A
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;######################################################################## 100.0%&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Pouring hugo--0.104.3.arm64_monterey.bottle.tar.gz
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Caveats
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;zsh completions have been installed to:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  /opt/homebrew/share/zsh/site-functions
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Summary
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;🍺  /opt/homebrew/Cellar/hugo/0.104.3: &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;48&lt;/span&gt; files, 55.8MB
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;==&lt;/span&gt;&amp;gt; Running &lt;span style=&#34;color:#4e9a06&#34;&gt;`&lt;/span&gt;brew cleanup hugo&lt;span style=&#34;color:#4e9a06&#34;&gt;`&lt;/span&gt;...
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Hide these hints with HOMEBREW_NO_ENV_HINTS &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;(&lt;/span&gt;see &lt;span style=&#34;color:#4e9a06&#34;&gt;`&lt;/span&gt;man brew&lt;span style=&#34;color:#4e9a06&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;)&lt;/span&gt;.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If Hugo is already installed and you want to update it to the latest version, run the following command.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% brew upgrade hugo
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After installation, if you can check the version, the installation was successful.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% hugo version
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo v0.104.3+extended darwin/arm64 &lt;span style=&#34;color:#000&#34;&gt;BuildDate&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;unknown
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;installing-on-windows&#34;&gt;Installing on Windows&lt;/h3&gt;
&lt;p&gt;To install Hugo on Windows, download the zip archive (&lt;code&gt;hugo_extendedx0.xxx.x_windows-amd64.zip&lt;/code&gt;) from the &lt;a href=&#34;https://github.com/gohugoio/hugo/releases&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Hugo Releases page&lt;i class=&#34;fas fa-external-link-alt&#34;&gt;&lt;/i&gt;&lt;/a&gt; and install it.&lt;br&gt;
If you use features such as Sass, be careful to use a file that starts with &lt;code&gt;hugo_extended&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Place the distributed &lt;code&gt;hugo.exe&lt;/code&gt; in an appropriate directory and add it to your path to complete the installation.&lt;/p&gt;

      </description>
      
      <category>Hugo</category>
      
      <category>Blog</category>
      
    </item>
    
    <item>
      <title>e-Book</title>
      <link>https://www.devkuma.com/en/docs/e-book/</link>
      <pubDate>Sun, 18 Sep 2022 08:22:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/e-book/</guid>
      <description>
        
        
        
      </description>
      
      <category>e-Book</category>
      
    </item>
    
    <item>
      <title>Operating System Overview</title>
      <link>https://www.devkuma.com/en/docs/operating-system/intro/</link>
      <pubDate>Sun, 13 Mar 2022 12:15:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/operating-system/intro/</guid>
      <description>
        
        
        &lt;h2 id=&#34;operating-system&#34;&gt;Operating System&lt;/h2&gt;
&lt;p&gt;An operating system (OS) is a software program that enables computer hardware to communicate with and run computer software.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It refers to a system program that exists between hardware and user programs in order to operate hardware resources and information as efficiently as possible.&lt;/li&gt;
&lt;li&gt;It is a program that boots and operates a computer.&lt;/li&gt;
&lt;li&gt;The applications that can be used vary depending on the selected operating system.&lt;/li&gt;
&lt;li&gt;The purpose of a computer, such as a PC or server, is determined by the type of operating system.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;classification-of-programs-that-operate-a-computer&#34;&gt;Classification of Programs That Operate a Computer&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Software
&lt;ul&gt;
&lt;li&gt;Applications
&lt;ul&gt;
&lt;li&gt;Word processors&lt;/li&gt;
&lt;li&gt;Games&lt;/li&gt;
&lt;li&gt;Graphics&lt;/li&gt;
&lt;li&gt;Other applications&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Operating systems
&lt;ul&gt;
&lt;li&gt;Windows&lt;/li&gt;
&lt;li&gt;UNIX&lt;/li&gt;
&lt;li&gt;Linux&lt;/li&gt;
&lt;li&gt;MacOS&lt;/li&gt;
&lt;li&gt;Other OSes&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;system-software&#34;&gt;System Software&lt;/h4&gt;
&lt;p&gt;System software refers to programs used to operate a computer, as well as compilers that interpret programming languages.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Example: operating system&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;application-software&#34;&gt;Application Software&lt;/h4&gt;
&lt;p&gt;Application software refers to programs users use to perform actual work.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Examples: word processors, spreadsheets, databases, computer graphics software, game software, and more&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;driver&#34;&gt;Driver&lt;/h4&gt;
&lt;p&gt;A driver is a program that operates hardware installed on a computer.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Examples: video card drivers, sound card drivers, modem drivers, and more&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;main-purposes-of-an-operating-system&#34;&gt;Main Purposes of an Operating System&lt;/h2&gt;
&lt;p&gt;An operating system has two main purposes.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It manages the computational activities of a computer system so that the computer system works properly.&lt;/li&gt;
&lt;li&gt;It provides an environment for developing and running programs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;goals-of-an-operating-system&#34;&gt;Goals of an Operating System&lt;/h2&gt;
&lt;p&gt;An operating system aims to improve user convenience and maximize system performance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Improve throughput: process as much data as possible within a fixed amount of time&lt;/li&gt;
&lt;li&gt;Reduce response time: minimize the time from a processing request to completion&lt;/li&gt;
&lt;li&gt;Improve reliability: handle system failures&lt;/li&gt;
&lt;li&gt;Improve ease of use: pursue a convenient user environment&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;structure-of-an-operating-system&#34;&gt;Structure of an Operating System&lt;/h2&gt;
&lt;p&gt;The two elements that make up an operating system are control programs, which control the computer, and processing programs, which execute programs and process data.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Control programs&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Monitor the overall operation of the system and the execution status of programs&lt;/li&gt;
&lt;li&gt;Manage and process the workflow of tasks requested by users, including starting and running those tasks&lt;/li&gt;
&lt;li&gt;Centrally manage input/output-related data&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Processing programs&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Programs such as assemblers, compilers, and interpreters that translate source programs written in high-level languages into machine language that a machine can understand&lt;/li&gt;
&lt;li&gt;Application software&lt;/li&gt;
&lt;li&gt;Utilities&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;understanding-partitions&#34;&gt;Understanding Partitions&lt;/h2&gt;
&lt;p&gt;A partition means a logical divided area. A physical hard disk must go through a procedure to be recognized as a logical drive by the OS, and partitioning is the work of setting up the logical area that the OS will use on the physical device called a hard disk.&lt;/p&gt;
&lt;p&gt;For an OS to use a hard disk, it must generally go through two procedures. One is partitioning, which declares part or all of the disk space as its own area, and the other is formatting, which creates the file input/output structure.&lt;/p&gt;
&lt;p&gt;A disk without partitions cannot be recognized.&lt;/p&gt;
&lt;p&gt;Using a hard disk by dividing it into several logical drives is the user&amp;rsquo;s choice. When installing two operating systems together, the disk must be divided.&lt;/p&gt;
&lt;h2 id=&#34;kernel&#34;&gt;Kernel&lt;/h2&gt;
&lt;p&gt;The kernel is the core and most important part of a computer operating system, providing basic services for every part of the OS.&lt;/p&gt;
&lt;h2 id=&#34;cpu-gpu&#34;&gt;CPU, GPU&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;CPU (central processing unit)
&lt;ul&gt;
&lt;li&gt;The top-level central processing unit that manages computer resources, including input/output devices, storage devices, and arithmetic units.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;GPU (graphics processing unit)
&lt;ul&gt;
&lt;li&gt;Graphics processing unit&lt;/li&gt;
&lt;li&gt;It performs large amounts of repetitive and similar operations and divides them into parallel work, making it overwhelmingly faster than a CPU for those tasks.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;memory&#34;&gt;Memory&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Memory is the space used to store targets or results of processing so that a computer can perform work.&lt;/li&gt;
&lt;li&gt;Information required to run programs is stored in memory and processed there.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;difference-between-heap-and-stack-areas&#34;&gt;Difference Between Heap and Stack Areas&lt;/h3&gt;
&lt;p&gt;For a program to run, it must be loaded into memory. Therefore, the operating system provides various memory spaces for program execution.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Code, data, stack, and heap areas are allocated, and each role is as follows.
&lt;ul&gt;
&lt;li&gt;Code
&lt;ul&gt;
&lt;li&gt;The text area where the code of the program to be executed is stored.&lt;/li&gt;
&lt;li&gt;The CPU fetches and processes instructions stored in the code area one by one.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Data
&lt;ul&gt;
&lt;li&gt;This corresponds to global variables and static variables.&lt;/li&gt;
&lt;li&gt;It is allocated when the program starts and disappears when the program ends.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Stack
&lt;ul&gt;
&lt;li&gt;The stack area stores local variables and parameters related to function calls.&lt;/li&gt;
&lt;li&gt;It is allocated when a function is called and released when the function call ends.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Heap
&lt;ul&gt;
&lt;li&gt;The heap area is a memory area that users can manage directly.&lt;/li&gt;
&lt;li&gt;Memory space in the heap area is dynamically allocated and released by the user.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>OS</category>
      
    </item>
    
    <item>
      <title>Overview of Computers</title>
      <link>https://www.devkuma.com/en/docs/computer/overview/</link>
      <pubDate>Thu, 23 Dec 2021 09:27:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/computer/overview/</guid>
      <description>
        
        
        &lt;h2 id=&#34;overview-of-computers&#34;&gt;Overview of Computers&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;An electronic calculator that performs complex operations on behalf of people.&lt;/li&gt;
&lt;li&gt;It can store and manage large volumes of data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;characteristics-of-computers&#34;&gt;Characteristics of Computers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Speed: Computers can process large volumes of data. Modern computers perform billions of arithmetic operations per second.&lt;/li&gt;
&lt;li&gt;Reliability: Computers support reliable, error-free processing of large amounts of data. This is essential when computers take over human work.&lt;/li&gt;
&lt;li&gt;Accuracy: Thanks to rapid advances in semiconductor technology, computer accuracy continues to improve.&lt;/li&gt;
&lt;li&gt;Data preservation: With the development of storage devices for preserving many kinds of data, a significant amount of data can be accumulated and stored in a small space.&lt;/li&gt;
&lt;li&gt;Economy: By processing large volumes of data quickly, computers reduce time and cost compared with human work.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;pc-personal-computer&#34;&gt;PC (Personal Computer)&lt;/h3&gt;
&lt;p&gt;Early computers were not designed for independent personal use. They were developed for shared purposes and were divided into central computers with central processing units and memory devices, and terminals for users. A PC is a computer developed for independent personal use. It combines the central processing unit, memory, and input/output devices that a computer needs into a single product.&lt;/p&gt;
&lt;h3 id=&#34;hardware-and-software&#34;&gt;Hardware and Software&lt;/h3&gt;
&lt;h4 id=&#34;hardware&#34;&gt;Hardware&lt;/h4&gt;
&lt;p&gt;Hardware means physical devices. A computer contains many kinds of hardware, such as the CPU, memory, disk drives, and input/output devices. These devices operate according to software instructions.&lt;/p&gt;
&lt;h4 id=&#34;software&#34;&gt;Software&lt;/h4&gt;
&lt;p&gt;Software means the programs that run on a computer and perform work. Operating systems, games, graphics programs, educational programs, and business programs are examples of software.&lt;/p&gt;
&lt;h3 id=&#34;basic-terms&#34;&gt;Basic Terms&lt;/h3&gt;
&lt;h4 id=&#34;bit-and-byte&#34;&gt;bit and Byte&lt;/h4&gt;
&lt;p&gt;Computers use digital electrical signals that represent all data as 0s and 1s. Digital data represents information using only two electrical states: &amp;ldquo;1&amp;rdquo;, where electricity flows, and &amp;ldquo;0&amp;rdquo;, where it does not. This is the bit, the smallest unit of data representation in a computer. In other words, 1 bit can represent only two values: 1 and 0. However, this alone is not enough to convert human characters into computer data. Combining two electrical signals can represent four values: 00, 01, 10, and 11. This still cannot represent human characters sufficiently, so 8 bits are combined. When 8 bits are combined, 256 different data values can be represented. This is called 1 byte. Ultimately, this is the amount of data used to represent one character, such as an English letter. 1 byte consists of 8 bits.&lt;/p&gt;
&lt;h4 id=&#34;bus&#34;&gt;Bus&lt;/h4&gt;
&lt;p&gt;In a computer, a bus is a transmission path for delivering data. Computers may be classified by the structure of this path. It also refers to the width of data that can be exchanged at one time between the CPU and peripheral devices. It starts with 8 bits and has developed through 16 bits, 32 bits, and 64 bits.&lt;/p&gt;
&lt;h3 id=&#34;history-of-computers&#34;&gt;History of Computers&lt;/h3&gt;
&lt;h4 id=&#34;eniac-the-first-computer&#34;&gt;ENIAC, the First Computer&lt;/h4&gt;
&lt;p&gt;In 1944, Aiken, a professor at Harvard University, built &amp;ldquo;MARK-1&amp;rdquo; with sponsorship from IBM. Although &amp;ldquo;MARK-1&amp;rdquo; could not be called a true computer, in 1946 Mauchly and Eckert at the University of Pennsylvania developed a military computer used for ballistic tables, weather forecasting, atomic energy calculations, and cosmic ray research. This was ENIAC, which used a decimal system.&lt;/p&gt;
&lt;p&gt;ENIAC was made to calculate using vacuum tubes. It had as many as 18,000 vacuum tubes and 6,000 switches, so it was large and very difficult to operate. In addition, because programs were not compatible, changing a program required reconnecting all those switches from the beginning.&lt;/p&gt;
&lt;h4 id=&#34;edsac-the-stored-program-computer&#34;&gt;EDSAC, the Stored-Program Computer&lt;/h4&gt;
&lt;p&gt;In 1949, Maurice Wilkes completed EDSAC, the first computer with a stored program. In 1951, a computer called EDVAC, again using the binary system, was developed by von Neumann. IBM also developed UNIVAC 1, which used magnetic tape as auxiliary storage, and installed it at the United States Census Bureau.&lt;/p&gt;
&lt;h4 id=&#34;computer-generations&#34;&gt;Computer Generations&lt;/h4&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Generation&lt;/th&gt;
          &lt;th&gt;Years&lt;/th&gt;
          &lt;th&gt;Central Processing Unit&lt;/th&gt;
          &lt;th&gt;Main Memory&lt;/th&gt;
          &lt;th&gt;Programming Language&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;1st generation&lt;/td&gt;
          &lt;td&gt;1946-1957&lt;/td&gt;
          &lt;td&gt;Vacuum tubes&lt;/td&gt;
          &lt;td&gt;Magnetic drum&lt;/td&gt;
          &lt;td&gt;Assembler&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;2nd generation&lt;/td&gt;
          &lt;td&gt;1958-1964&lt;/td&gt;
          &lt;td&gt;Transistors&lt;/td&gt;
          &lt;td&gt;Magnetic core&lt;/td&gt;
          &lt;td&gt;FORTRAN, COBOL&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;3rd generation&lt;/td&gt;
          &lt;td&gt;1965-1974&lt;/td&gt;
          &lt;td&gt;IC&lt;/td&gt;
          &lt;td&gt;Magnetic disk&lt;/td&gt;
          &lt;td&gt;Pascal, BASIC&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;4th generation&lt;/td&gt;
          &lt;td&gt;Since the 1970s&lt;/td&gt;
          &lt;td&gt;LSI&lt;/td&gt;
          &lt;td&gt;Semiconductor&lt;/td&gt;
          &lt;td&gt;Modern programming languages&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;5th generation&lt;/td&gt;
          &lt;td&gt;Present&lt;/td&gt;
          &lt;td&gt;VLSI&lt;/td&gt;
          &lt;td&gt;Semiconductor&lt;/td&gt;
          &lt;td&gt;Modern programming languages&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;structure-of-a-pc&#34;&gt;Structure of a PC&lt;/h2&gt;
&lt;h3 id=&#34;central-processing-unit-cpu&#34;&gt;Central Processing Unit (CPU)&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;It contains a control unit that operates each device in the computer and controls normal operation.&lt;/li&gt;
&lt;li&gt;It contains an arithmetic unit that processes various computational data.&lt;/li&gt;
&lt;li&gt;It contains registers for temporarily storing data.&lt;/li&gt;
&lt;li&gt;It determines computer performance and the type of system.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;input-devices&#34;&gt;Input Devices&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Devices that receive commands and data from the user. Keyboards and mice are examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;output-devices&#34;&gt;Output Devices&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Devices that deliver the results processed by the computer to the user. Monitors and printers are examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;storage-devices&#34;&gt;Storage Devices&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Devices where the operating system and various programs are installed and where data created by users is stored.&lt;/li&gt;
&lt;li&gt;Hard disks, CD-ROMs, and CD-RWs are examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;peripheral-devices&#34;&gt;Peripheral Devices&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Devices that are not necessary for basic computer operation and management but are added when needed are called peripheral devices.&lt;/li&gt;
&lt;li&gt;They can improve user convenience.&lt;/li&gt;
&lt;li&gt;LAN cards, sound cards, mice, printers, and joysticks are examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;controllers&#34;&gt;Controllers&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Controllers manage smooth data flow between devices and detect errors.&lt;/li&gt;
&lt;li&gt;They determine the connection method for peripheral devices.&lt;/li&gt;
&lt;li&gt;When implemented as hardware, the term &amp;ldquo;controller&amp;rdquo; is used.&lt;/li&gt;
&lt;li&gt;When implemented as software, a program installed to operate hardware is called a &amp;ldquo;driver&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>Computer</category>
      
    </item>
    
    <item>
      <title>Operating System/OS</title>
      <link>https://www.devkuma.com/en/docs/operating-system/</link>
      <pubDate>Wed, 09 Aug 2017 12:45:39 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/operating-system/</guid>
      <description>
        
        
        &lt;p&gt;This section summarizes the basic knowledge of operating systems.&lt;/p&gt;

      </description>
      
      <category>Linux</category>
      
      <category>OS</category>
      
    </item>
    
    <item>
      <title>Basic computer knowledge</title>
      <link>https://www.devkuma.com/en/docs/category/computer/basic/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/category/computer/basic/</guid>
      <description>
        
        
        
      </description>
      
    </item>
    
    <item>
      <title>Operating system</title>
      <link>https://www.devkuma.com/en/docs/category/operating-system/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/category/operating-system/</guid>
      <description>
        
        
        
      </description>
      
    </item>
    
    <item>
      <title>Network</title>
      <link>https://www.devkuma.com/en/docs/category/network/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/category/network/</guid>
      <description>
        
        
        &lt;p&gt;Network&lt;/p&gt;

      </description>
      
    </item>
    
  </channel>
</rss>
