2020年7月2日木曜日

開発環境

Build Websites With Hugo: Fast Web Development With Markdown (Brian P. Hogan(著)、Pragmatic Bookshelf)のChapter 1(Kicking the Tires)、Your Turn 2.の解答を求めてみる。

入出力結果(Zsh、PowerShell、Terminal)

% hugo new resume.md 
/.../portfolio/content/resume.md created
% cat content/resume.md 
---
title: "Resume"
date: 2020-07-02T15:30:32+09:00
draft: true
---

% perl -w -i -p -e 's/Resume/Résumé/' content/*
% cat content/resume.md                       
---
title: "Résumé"
date: 2020-07-02T15:30:32+09:00
draft: true
---

% perl -w -i -p -e 's/true/false/' content/*
% hugo                                      
                   | EN  
-------------------+-----
  Pages            |  6  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  0  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 9 ms
% hugo server
                   | EN  
-------------------+-----
  Pages            |  6  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  0  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Built in 3 ms
Watching for changes in /.../portfolio/{archetypes,content,data,layouts,static}
Watching for config changes in /.../portfolio/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
^C%                                                                             % 

0 コメント:

コメントを投稿