sbd.ninja website is out - based on github page and hugo static site generator

in #sbd-ninja7 years ago (edited)

Official website of sbd.ninja

My steps to build this website in couple of hours

  • Open Terminal on Mac
  • Install hugo
$ brew install hugo (on Mac)
  • new a site by using hugo
$ hugo new site sbd.ninja-website
  • Initial Git reop and install themes as submodule
$ cd sbd.ninja-website
$ git init
$ git submodule add https://github.com/christianmendoza/hugo-split-theme.git themes/hugo-split-theme
  • Copy config file in exampleSite folder of theme hugo-split-theme to root folder
$ cp themes/hugo-split-theme/exampleSite/config.toml . 
  • Modify baseURL in config.toml from "/" to "https://bobdos.github.io/sbd.ninja-website/"
  • add new field in config.toml for publishing all static files of the website into "docs" folder, for easily github page publish
echo 'publishDir = "docs"' >> config.toml
  • Modify other necessary information in config.toml
  • Preview the result
$ hugo server -t hugo-split-theme
  • Generate the website into "docs"
$ hugo

sbd.ninja Info


Thanks for reading, buddies. :)

i-am-witness-of-steem.jpeg

Vote @bobdos as Witness of STEEM (via SteemConnect)

Or go to https://steemit.com/~witnesses and Vote @bobdos

Your support is highly appreciated!

投票 @bobdos 为 STEEM 见证人 (通过SteemConnect)

或者到 https://steemit.com/~witnesses@bobdos 一票

非常感谢您的肯定和支持!

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.030
BTC 63478.31
ETH 2604.35
USDT 1.00
SBD 2.83