[ Web Proxy ]
URL:
Viewing: https://navpage.github.io/tutorial/webstack-hugo-tutorial/ [Back]  [Original]

WebStack-Hugo - NavPage Docs
NavPage Insiders
[Go]
Navpage Themes

WebStack-Hugo

>.<

GitHub | Gitee | GitCode

WebStack-Hugo |

WebStack

webstack-hugo-collapse.png [webstack-hugo-collapse.png]

webstack-hugo-expand.png [webstack-hugo-expand.png]

webstack-hugo-search.png [webstack-hugo-search.png]

webstack-apple [webstack-apple]

Hugo WebStack Github/Gitee Pages

webstack.cc Hugo

  • hugo
  • config.toml
  • data/webstack.yml
- taxonomy: 
  icon: fas fa-flask fa-lg
  list:
    - term: 
      links:
        - title: NCBI
          logo: n/ncbi.jpg
          url: https://www.ncbi.nlm.nih.gov/
          description: National Center for Biotechnology Information.
        - title: Bioconda
          logo: b/bioconda.jpg
          url: https://anaconda.org/bioconda/
          description: "Bioconda :: Anaconda.org."
    - term: 
      links:
        - title: 
          logo: a/aliyun.jpg
          url: https://www.aliyun.com/
          description: 
        - title: 
          logo: c/cloud-tencent.jpg
          url: https://cloud.tencent.com/
          description: 
  • API
  • API API

Windows

Windows 7 x64 Windows 10

hugo

https://github.com/gohugoio/hugo/releases hugo_0.89.4_Windows-64bit.zip

download-hugo-windows [download-hugo-windows]

hugo_0.89.4_Windows-64bit.zip F:\WebStack

hugo.exeLICENSEREADME.md

unzip hugo_0.89.4_Windows-64bit [unzip hugo_0.89.4_Windows-64bit]

hugo

Windows Tab WebStack-Hugo w Tab WebStack-Hugo

  1. Windows Win+R cmd

win-r-cmd [win-r-cmd]

  1. Windows F hugo F:\WebStack

  2. F:

    cmd-change-dir [cmd-change-dir]

  3. F

    cmd-f-dir [cmd-f-dir]

  4. cd WebStack F:\WebStack ls

    webstack-win-ls [webstack-win-ls]

  5. hugo.exe version

    hugo-exe-version [hugo-exe-version]

https://github.com/shenweiyan/WebStack-Hugo Code "Download ZIP" WebStack-hugo-main.zip hugo F:\WebStack

webstack-download-zip [webstack-download-zip]

webstack-hugo-main-zip [webstack-hugo-main-zip]

WebStack-Hugo-main.zip

webstack-hugo-main-unzip [webstack-hugo-main-unzip] webstack-hugo-main-rename [webstack-hugo-main-rename]

F:\WebStack

themes

create-themes-dir [create-themes-dir]

WebStack-Hugo themes

mv-webstack-hugo-to-themes [mv-webstack-hugo-to-themes]

themes/WebStack-Hugo/exampleSite hugo F:\WebStack

cp-examplesite [cp-examplesite]

Windows hugo serverHugo Web

hugo.exe server

hugo-exe-server [hugo-exe-server]

http://127.0.0.1:1313/

webstack-hugo-1313 [webstack-hugo-1313]

Linux

WebStack-Hugo exampleSite hugo config.toml data webstack.yml

mkdir /home/shenweiyan/mysite
cd /home/shenweiyan/mysite

#  WebStack-Hugo 
git clone https://github.com/shenweiyan/WebStack-Hugo.git themes/WebStack-Hugo

#  exampleSite  hugo 
cd /home/shenweiyan/mysite
cp -r themes/WebStack-Hugo/exampleSite/* ./

#  hugo 
hugo server
#  ip,  132.76.230.31,  hugo server
hugo server --baseUrl=132.76.230.31 --bind=0.0.0.0

@jetsung pull 15

# 
mkdir navsites
cd $_

# 
git init

#  WebStack-Hugo  themes/WebStack-Hugo 
git submodule add https://github.com/shenweiyan/WebStack-Hugo.git themes/WebStack-Hugo
cp -r themes/WebStack-Hugo/exampleSite/* ./

#  hugo
go install github.com/gohugoio/hugo@latest

# 
hugo server

#  docs 
hugo -D

HTML

Windows/Linux hugo server Hugo Hugo Web http://127.0.0.1:1313/

GitHub/Gitee Pages

1.

()

hugo -D  hugo --minify

public/ publishDir

Hugo -

Hugo draftpublishdateexpirydateHugo

  1. publishdate
  2. draft:true
  3. expirydate

hugohugo server(--) boolean

  1. -F, --buildFuture include content with publishdate in the future
  2. -D, --buildDrafts include content marked as draft
  3. -E, --buildExpired include expired content

2.

public/ GitHub GitHub/Gitee Pages cname

Font Awesome v5 Free

https://fontawesome.com/v5/search?o=r&m=free

fontawesome-v5-free [fontawesome-v5-free]

  1. layouts/partials/content_search.html
  2. "// ...." id label

set-default-search-bing [set-default-search-bing] view-default-search-bing [view-default-search-bing]

WebStack-Hugo data/header.yml

- item: 
  icon: fa fa-home
  link: "./"

- item: 
  icon: fa fa-book
  link: https://www.yuque.com/shenweiyan

- item: 
  icon: fa fa-cog
  link: ""
  list:
    - name: 
      url: "#"
    - name: 
      url: "#"

Bio & IT

Favicon API Favicon - API

  1. Favicon

    https://api.iowen.cn/favicon/www.iowen.cn.png
    

  2. https://api.iowen.cn/favicon/www.iowen.cn.png?refresh=true
    

  3. www.iowen.cn

Favicon.im

API https://favicon.im/ Favicon

favicon-im [favicon-im]

Favicon Extractor

Favicon Downloader

favicon-extractor [favicon-extractor]

  1. js footer.html PR

WebStack Viggo

twitter-decohack-webstack-hugo [twitter-decohack-webstack-hugo]


@yanbeiyinhanghang
@jetsung

>.<

donate-wecaht-aliapy [donate-wecaht-aliapy]

WebStack

WebStack

issues

issues >.<


Web Proxy Viewer  |  New URL  |  Original Page