Fork this repository.
git clone git@github.com:YOUR_GITHUB_USERNAME/mobile.frontendlabs.io.git
cd mobile.frontendlabs.io
git submodule update --init --recursive
make hugo
También se puede ejecutar el ambiente de desarrollo con la siguiente instrucción:
sh ./hugo.sh
docker-compose up
http://localhost/
This command creates a markdown file on the following path: source/content/posts/
.
This only works when your container is up and running.
make newpost name=post_name
Open your new file source/content/posts/post_name.md
with an editor and change the value of draft: true
to draft: false
, and write some of markdown like this:
---
title: "Post_name"
date: 2017-10-06T22:26:57Z
draft: false
---
## Subtitle
paragraph paragraph paragraph paragraph.
Save your changes.
http://localhost/
git submodule add git@github.com:GITHUB_ACCOUNT/hugo-THEME_NAME.git source/themes/THEME_NAME
docker-compose exec hugo sh -c "hugo new posts/post_name.md"