Hugo running on Android
Hugo Running on Android
Assumption turmux already installed.
Termux on Android needs to be install. Use apt
or pkg
to install hugo.
Step 1 Install Hugo
apt install hugo
Start server
Some reason errors out without --noBuildLock
hugo server --noBuildLock
Start building sites …
hugo v0.109.0+extended android/arm64 BuildDate=unknown
| EN
-------------------+-----
Pages | 35
Paginator pages | 0
Non-page files | 6
Static files | 1
Processed images | 64
Aliases | 10
Sitemaps | 1
Cleaned | 0
Built in 981 ms
Step 2. Create New Posts
Syntax to create a new post: hugo new posts/POST_NAME.md
Create a post called index.md hugo new posts/hugoandroid/index.md
this creates a directory named posts
Start writing in markdown and publish in HTML.
Summary
Now we can build with markdown on the go and publish on the fly. Future post setting up Android with necessary tools.
Related Posts
Hugo Static Blog Site Github
Hugo Setup with git This blog content is generated with Hugo static site generator and integrated with GitHub Pages. This post will step cover publishing and pushing the newest content to GitHub Pages.
Read moreVSCode Extensions for Markdown
VSCode Extensions for Markdown Recommend vscode Markdown extensions. Markdown All in One Markdown All in One is a must one for editing Markdown.
Read moreGetting Started with Hugo
Hugo static HTML and CSS website generator Hugo is a static HTML and CSS website generator written in Go and edited in markdown.
Read more