<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hugo（ヒューゴ） | Men of Letters（メン・オブ・レターズ） &#8211; 論理的思考/業務改善/プログラミング</title>
	<atom:link href="https://laboratory.kazuuu.net/category/hugo%EF%BC%88%E3%83%92%E3%83%A5%E3%83%BC%E3%82%B4%EF%BC%89/feed/" rel="self" type="application/rss+xml" />
	<link>https://laboratory.kazuuu.net</link>
	<description></description>
	<lastBuildDate>Mon, 02 Nov 2020 06:35:08 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://laboratory.kazuuu.net/wp-content/uploads/2021/02/cropped-L-32x32.png</url>
	<title>Hugo（ヒューゴ） | Men of Letters（メン・オブ・レターズ） &#8211; 論理的思考/業務改善/プログラミング</title>
	<link>https://laboratory.kazuuu.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>【Hugo入門】ローカルWebサーバーを起動する</title>
		<link>https://laboratory.kazuuu.net/hugo-start-a-local-web-server/</link>
					<comments>https://laboratory.kazuuu.net/hugo-start-a-local-web-server/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 05:05:13 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4143</guid>

					<description><![CDATA[Hugoのインストールを行い、新しいアプリケーションを作成し、Gitを使用してHugoにテーマを追加後、構成を更新を行い、アプリケーションに新しい投稿を作成。作成後、Webサーバーを起動し新しく作成したアプリケーションの [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/">Hugoのインストール</a>を行い、<a href="https://laboratory.kazuuu.net/create-a-new-application-in-hugo/">新しいアプリケーションを作成</a>し、<a href="https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/">Gitを使用してHugoにテーマを追加</a>後、<a href="https://laboratory.kazuuu.net/hugo-update-configuration/">構成を更新</a>を行い、<a href="https://laboratory.kazuuu.net/create-a-new-post-in-your-application">アプリケーションに新しい投稿を作成</a>。作成後、Webサーバーを起動し新しく作成したアプリケーションの確認を行います。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■ローカルWebサーバーを起動する</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<p>・Chocolateyを使用しGit、インストール済</p>
<h2><span id="toc2">■ローカルWebサーバーを起動する</span></h2>
<p><a href="https://laboratory.kazuuu.net/create-a-new-post-in-your-application">アプリケーションに新しい投稿を作成</a>後、Windows10のデスクトップ画面に、「ここに入力して検索」と表示されている検索ボックスで「powershell.exe」と検索し、 Windows PowerShellを表示させておきます。</p>
<pre>PS C:\WINDOWS\system32\demo&gt; hugo server -D</pre>
<p>表示後、cdコマンドで新しく作成したアプリケーション「demo」に移動します。移動後、上記のコマンドを入力し、Enterキーを押します。</p>
<blockquote><p>Start building sites …</p>
<p>| EN-US<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8211;<br />
Pages | 20<br />
Paginator pages | 0<br />
Non-page files | 0<br />
Static files | 4<br />
Processed images | 0<br />
Aliases | 6<br />
Sitemaps | 1<br />
Cleaned | 0</p>
<p>Built in 29 ms<br />
Watching for changes in C:\WINDOWS\system32\demo\{archetypes,content,data,layouts,static,themes}<br />
Watching for config changes in C:\WINDOWS\system32\demo\config.toml<br />
Environment: &#8220;development&#8221;<br />
Serving pages from memory<br />
Running in Fast Render Mode. For full rebuilds on change: hugo server &#8211;disableFastRender<br />
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)<br />
Press Ctrl+C to stop</p></blockquote>
<p>Enterキーを押すと、上記のメッセージが表示されます。メッセージが書かれている「http://localhost:1313/」にWebブラウザでアクセスします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232.png"><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-4144" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232-300x173.png" alt="" width="300" height="173" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232-300x173.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232-1024x592.png 1024w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232-768x444.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232-120x68.png 120w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-140232.png 1184w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>アクセスすると、新しく作成したアプリケーションが確認できます。編集されたページも投稿されていることが確認できました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/hugo-start-a-local-web-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Hugo入門】アプリケーションに新しい投稿を作成する</title>
		<link>https://laboratory.kazuuu.net/create-a-new-post-in-your-application/</link>
					<comments>https://laboratory.kazuuu.net/create-a-new-post-in-your-application/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 05:04:28 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4140</guid>

					<description><![CDATA[Hugoのインストールを行い、新しいアプリケーションを作成し、Gitを使用してHugoにテーマを追加後、構成を更新を行い、アプリケーションに新しい投稿を作成してみます。 目次 ■PC環境■新しい投稿を作成する■編集後のコ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/">Hugoのインストール</a>を行い、<a href="https://laboratory.kazuuu.net/create-a-new-application-in-hugo/">新しいアプリケーションを作成</a>し、<a href="https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/">Gitを使用してHugoにテーマを追加</a>後、<a href="https://laboratory.kazuuu.net/hugo-update-configuration/">構成を更新</a>を行い、アプリケーションに新しい投稿を作成してみます。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-4" checked><label class="toc-title" for="toc-checkbox-4">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■新しい投稿を作成する</a><ol><li><a href="#toc3" tabindex="0">■編集後のコード</a></li></ol></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<p>・Chocolateyを使用しGit、インストール済</p>
<h2><span id="toc2">■新しい投稿を作成する</span></h2>
<p>Windows10のデスクトップ画面に、「ここに入力して検索」と表示されている検索ボックスで「powershell.exe」と検索し、 Windows PowerShellを表示させておきます。</p>
<pre>PS C:\WINDOWS\system32\demo&gt; hugo new post/hello-world.md</pre>
<p>表示後、cdコマンドで新しく作成したアプリケーション「demo」内に移動し、上記のコマンドを入力し、Enterキーを押します。</p>
<blockquote><p>C:\WINDOWS\system32\demo\content\post\hello-world.md created</p></blockquote>
<p>Enterキーを押すと、「hello-world.md」が作成されましたというメッセージが表示されます。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-131103.png"><img decoding="async" class="alignnone size-medium wp-image-4141" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-131103-300x78.png" alt="" width="300" height="78" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-131103-300x78.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-131103.png 722w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>表示された後は、Windowsエクスプローラで「C:\WINDOWS\system32\demo\content\post」を開きます。フォルダ内にある「hello-world.md」をコード・エディター（今回はVisual Studio Code）で開きます。</p>
<div>
<blockquote>
<div>&#8212;</div>
<div>title: &#8220;Hello World&#8221;</div>
<div>date: 2020-11-01T13:05:28+09:00</div>
<div>categories:</div>
<div>&#8211; category</div>
<div>&#8211; subcategory</div>
<div>tags:</div>
<div>&#8211; tag1</div>
<div>&#8211; tag2</div>
<div>keywords:</div>
<div>&#8211; tech</div>
<div>#thumbnailImage: //example.com/image.jpg</div>
<div>&#8212;</div>
<div>&lt;!&#8211;more&#8211;&gt;</div>
</blockquote>
<p>開くと、上記のようなコードになっています。コードを編集して、本文を追加してみます。</p>
<h3><span id="toc3">■編集後のコード</span></h3>
<div>
<blockquote>
<div>&#8212;</div>
<div>title: &#8220;Hello World&#8221;</div>
<div>date: 2020-11-01T13:05:28+09:00</div>
<div>categories:</div>
<div>&#8211; category</div>
<div>&#8211; subcategory</div>
<div>tags:</div>
<div>&#8211; tag1</div>
<div>&#8211; tag2</div>
<div>keywords:</div>
<div>&#8211; tech</div>
<div>#thumbnailImage: //example.com/image.jpg</div>
<div>&#8212;</div>
<div>こんにちは。初めての投稿です。</div>
<div>&lt;!&#8211;more&#8211;&gt;</div>
</blockquote>
</div>
</div>
<p>編集後、保存します。</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/create-a-new-post-in-your-application/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Hugo入門】構成を更新する</title>
		<link>https://laboratory.kazuuu.net/hugo-update-configuration/</link>
					<comments>https://laboratory.kazuuu.net/hugo-update-configuration/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 04:00:37 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4129</guid>

					<description><![CDATA[Hugoのインストールを行い、新しいアプリケーションを作成し、Gitを使用してHugoにテーマを追加後、構成を更新してみます。 目次 ■PC環境■構成を更新する ■PC環境 ・Windows10、Administrato [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/">Hugoのインストール</a>を行い、<a href="https://laboratory.kazuuu.net/create-a-new-application-in-hugo/">新しいアプリケーションを作成</a>し、<a href="https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/">Gitを使用してHugoにテーマを追加</a>後、構成を更新してみます。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-6" checked><label class="toc-title" for="toc-checkbox-6">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■構成を更新する</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<p>・Chocolateyを使用しGit、インストール済</p>
<h2><span id="toc2">■構成を更新する</span></h2>
<p><a href="https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/">Gitを使用してHugoにテーマを追加</a>した後は、Windowsエクスプローラを開きます。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123744.png"><img decoding="async" class="alignnone size-medium wp-image-4131" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123744-300x101.png" alt="" width="300" height="101" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123744-300x101.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123744-768x257.png 768w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123744.png 773w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>開いた後に「C:\Windows\System32\demo」のフォルダを表示します。「themes」をクリックします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123811.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4132" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123811-300x78.png" alt="" width="300" height="78" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123811-300x78.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123811.png 658w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>クリック後、「hugo-tranquilpeak-theme」をクリックします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123831.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4133" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123831-300x116.png" alt="" width="300" height="116" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123831-300x116.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123831.png 722w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>クリック後、「exampleSite」をクリックします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123850.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4134" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123850-300x81.png" alt="" width="300" height="81" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123850-300x81.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-123850.png 675w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>クリック後、「config.toml」というファイルを、コード・エディターで開きます。今回は Visual Studio Codeを使用します。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125308.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4135" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125308-291x300.png" alt="" width="291" height="300" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125308-291x300.png 291w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125308.png 631w" sizes="(max-width: 291px) 100vw, 291px" /></a></p>
<p>Visual Studio Codeで開いた後は、このコンテンツをすべてコピーします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125428.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4136" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125428-300x114.png" alt="" width="300" height="114" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125428-300x114.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125428.png 704w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>コピーした後に、新しく作成したアプリケーション「demo」の中にある「config.toml」のファイルもコード・エディター（Visual Studio Code）で開きます。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125630.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4137" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125630-300x176.png" alt="" width="300" height="176" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125630-300x176.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125630.png 586w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>開くと上記のようになっています。このファイルの中身に、先程コピーした「config.toml」のコンテンツを貼り付けてします。</p>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125830.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4138" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125830-300x280.png" alt="" width="300" height="280" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125830-300x280.png 300w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-125830.png 619w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>貼り付けた後は、タイトルまたは作成者情報を編集し、更新します。更新後、保存します。</p>
<p>これで、構成を更新する作業は完了となります。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/hugo-update-configuration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Hugo入門】Gitを使用してHugoにテーマを追加する</title>
		<link>https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/</link>
					<comments>https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 03:31:34 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4124</guid>

					<description><![CDATA[Hugoのインストールを行い、新しいアプリケーションを作成し、Gitを使用してHugoにテーマを追加してみます。 目次 ■PC環境■新しいアプリケーションを作成する ■PC環境 ・Windows10、Administra [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/">Hugoのインストール</a>を行い、<a href="https://laboratory.kazuuu.net/create-a-new-application-in-hugo/">新しいアプリケーションを作成</a>し、Gitを使用してHugoにテーマを追加してみます。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-8" checked><label class="toc-title" for="toc-checkbox-8">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■新しいアプリケーションを作成する</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<p>・Chocolateyを使用しGit、インストール済</p>
<h2><span id="toc2">■新しいアプリケーションを作成する</span></h2>
<p>Windows10のデスクトップ画面に、「ここに入力して検索」と表示されている検索ボックスで「powershell.exe」と検索し、 Windows PowerShellを表示後、アプリケーションを作成します。</p>
<blockquote><p>cd demo</p></blockquote>
<p>その後、上記のコマンドを入力し、Enterキーを押して作成したアプリケーション「demo」に移動します。</p>
<blockquote><p>git init</p></blockquote>
<p>Enterキーを押した後に、上記のコマンドでリポジトリを新規に作成します。作成するためにEnterキーを押します。</p>
<blockquote><p>Initialized empty Git repository in C:/Windows/System32/demo/.git/</p></blockquote>
<p>Enterキーを押すと、上記のメッセージが表示され、空のGitリポジトリを初期化されます。</p>
<blockquote><p>git submodule add https://github.com/kakawait/hugo-tranquilpeak-theme.git themes/hugo-tranquilpeak-theme</p></blockquote>
<p>初期化後、上記のコマンドを入力し、テーマを追加します。今回は<a href="https://github.com/kakawait/hugo-tranquilpeak-theme">「Tranquilpeak」というテーマ</a>を利用します。追加するために、Enterキーを押します。</p>
<blockquote><p>Cloning into &#8216;C:/Windows/System32/demo/themes/hugo-tranquilpeak-theme&#8217;&#8230;<br />
remote: Enumerating objects: 5181, done.<br />
Rremote: Total 5181 (delta 0), reused 0 (delta 0), pack-reused 5181 MiB/s<br />
Receiving objects: 100% (5181/5181), 17.18 MiB | 3.43 MiB/s, done.<br />
Resolving deltas: 100% (2832/2832), done.<br />
warning: LF will be replaced by CRLF in .gitmodules.<br />
The file will have its original line endings in your working directory</p></blockquote>
<p>Enterキーを押すと、テーマの追加が完了となります。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/add-a-theme-to-hugo-using-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Hugo入門】Hugoで新しいアプリケーションを作成する</title>
		<link>https://laboratory.kazuuu.net/create-a-new-application-in-hugo/</link>
					<comments>https://laboratory.kazuuu.net/create-a-new-application-in-hugo/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 02:42:30 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4110</guid>

					<description><![CDATA[Hugoのインストールを行い、新しいアプリケーションを作成してみます。 目次 ■PC環境■新しいアプリケーションを作成する ■PC環境 ・Windows10、Administrator（管理者）アカウント ・パッケージ管 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/">Hugoのインストール</a>を行い、新しいアプリケーションを作成してみます。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-10" checked><label class="toc-title" for="toc-checkbox-10">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■新しいアプリケーションを作成する</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<h2><span id="toc2">■新しいアプリケーションを作成する</span></h2>
<p>Windows10のデスクトップ画面に、「ここに入力して検索」と表示されている検索ボックスで「powershell.exe」と検索し、 Windows PowerShellを表示させておきます。</p>
<blockquote><p>hugo new site demo</p></blockquote>
<p>表示後、上記のコマンドを入力し、Enterキーを押します。今回は「demo」という新しいアプリケーションを作成しますので、「demo」と入力しています。</p>
<blockquote><p>Congratulations! Your new Hugo site is created in C:\WINDOWS\system32\demo.</p>
<p>Just a few more steps and you&#8217;re ready to go:</p>
<p>1. Download a theme into the same-named folder.<br />
Choose a theme from https://themes.gohugo.io/ or<br />
create your own with the &#8220;hugo new theme &lt;THEMENAME&gt;&#8221; command.<br />
2. Perhaps you want to add some content. You can add single files<br />
with &#8220;hugo new &lt;SECTIONNAME&gt;\&lt;FILENAME&gt;.&lt;FORMAT&gt;&#8221;.<br />
3. Start the built-in live server via &#8220;hugo server&#8221;.</p>
<p>Visit https://gohugo.io/ for quickstart guide and full documentation.</p></blockquote>
<p>Enterキーを押すと、上記のメッセージが表示されます。「新しいHugoのサイトは「C:\ WINDOWS \ system32 \ demo」に作成されました。」という内容でこれでアプリケーションの作成が完了となります。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/create-a-new-application-in-hugo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Hugo入門】高速静的サイトジェネレーター「Hugo」をインストールする（Windows10）</title>
		<link>https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/</link>
					<comments>https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/#respond</comments>
		
		<dc:creator><![CDATA[小林]]></dc:creator>
		<pubDate>Sun, 01 Nov 2020 02:29:04 +0000</pubDate>
				<category><![CDATA[Hugo（ヒューゴ）]]></category>
		<guid isPermaLink="false">https://laboratory.kazuuu.net/?p=4112</guid>

					<description><![CDATA[Hugoのインストールについて解説します。 Hugoは、プログラミング言語の1つである「Go」で記述された高速の静的サイトジェネレーターです。また汎用のウェブサイトフレームワークです。 目次 ■PC環境■Chocolat [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hugoのインストールについて解説します。</p>
<p>Hugoは、プログラミング言語の1つである「Go」で記述された高速の静的サイトジェネレーターです。また汎用のウェブサイトフレームワークです。</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-12" checked><label class="toc-title" for="toc-checkbox-12">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">■PC環境</a></li><li><a href="#toc2" tabindex="0">■Chocolateyを使用しインストールする</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">■PC環境</span></h2>
<p>・Windows10、Administrator（管理者）アカウント</p>
<p>・パッケージ管理ソフトウェア「Chocolatey」インストール済。<a href="https://laboratory.kazuuu.net/install-chocolatey-windows-10/">インストールに関してはこちら</a>をご確認ください。</p>
<h2><span id="toc2">■Chocolateyを使用しインストールする</span></h2>
<p><a href="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-104123.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-4106" src="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-104123-175x300.png" alt="" width="175" height="300" srcset="https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-104123-175x300.png 175w, https://laboratory.kazuuu.net/wp-content/uploads/2020/11/スクリーンショット-2020-11-01-104123.png 395w" sizes="(max-width: 175px) 100vw, 175px" /></a></p>
<p>Windows10のデスクトップ画面に、「ここに入力して検索」と表示されている検索ボックスで「powershell.exe」と検索します。検索すると、powershell.exeが表示されますので、こちらをクリックします。クリックすると、Windows PowerShellのウインドウが表示されます。</p>
<pre>choco install hugo -confirm</pre>
<p>表示後、上記のコマンドを入力し、Enterキーを押します。</p>
<blockquote><p>Chocolatey v0.10.15<br />
Installing the following packages:<br />
hugo<br />
By installing you accept licenses for the packages.<br />
Progress: Downloading hugo 0.77.0&#8230; 100%</p>
<p>hugo v0.77.0 [Approved]<br />
hugo package files install completed. Performing other installation steps.<br />
Downloading hugo 64 bit<br />
from &#8216;https://github.com/gohugoio/hugo/releases/download/v0.77.0/hugo_0.77.0_Windows-64bit.zip&#8217;<br />
Progress: 100% &#8211; Completed download of C:\Users\Administrator\AppData\Local\Temp\chocolatey\hugo\0.77.0\hugo_0.77.0_Windows-64bit.zip (13.45 MB).<br />
Download of hugo_0.77.0_Windows-64bit.zip (13.45 MB) completed.<br />
Hashes match.<br />
Extracting C:\Users\Administrator\AppData\Local\Temp\chocolatey\hugo\0.77.0\hugo_0.77.0_Windows-64bit.zip to C:\ProgramData\chocolatey\lib\hugo\tools&#8230;<br />
C:\ProgramData\chocolatey\lib\hugo\tools<br />
ShimGen has successfully created a shim for hugo.exe<br />
The install of hugo was successful.<br />
Software installed to &#8216;C:\ProgramData\chocolatey\lib\hugo\tools&#8217;</p>
<p>Chocolatey installed 1/1 packages.<br />
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).</p></blockquote>
<p>Enterキーを押すと、インストールが開始されます。しばらくすると、「The install of hugo was successful.」と表示されますので、表示されれば正常にインストールは完了となります。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://laboratory.kazuuu.net/install-the-high-speed-static-site-generator-hugo-windows10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
