HUGO

1 min read


Halo guysss welcome back to our channel.. kita akan membahas tentang SSG lagi ya guys namun kali ini kita akan berkenalan dengan yang namanya HUGO.. oke langsung aja…

The world’s fastest framework for building websites

Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again. (https://gohugo.io/)

Implementation

Disini kita akan menggunakan Linux, untuk kalian selain Linuxers kalian bisa baca disini untuk instalasinya.. oke berikut menggunakan debian base ya :

apt install hugo

disini saya memilih tidak extend SASS ya guyss.

hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
hugo new posts/my-first-post.md

post.md

---
title: "My First Post"
date: 2019-03-26T08:47:11+01:00
draft: true
---

start Hugo server

hugo server -D
                  | EN  
+------------------+----+
  Pages            |  4  
  Paginator pages  |  0  
  Non-page files   |  0  
  Static files     |  0  
  Processed images |  0  
  Aliases          |  0  
  Sitemaps         |  1  
  Cleaned          |  0  

Total in 38 ms
Watching for changes in /home/laughface809/Documents/dashboard/hugo/quickstart/{content,data,layouts,static}
Watching for config changes in /home/laughface809/Documents/dashboard/hugo/quickstart/config.toml
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

oke cukup sekian dulu QuickStart Hugo nya ketemu lagi di post selanjutnya cyaaaa…

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *