Hugo running on Android

  • vnull
  • Pub Dec 24, 2022
  • Edited Dec 25, 2022
  • 1 minute read

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

Will get the following:

Error
.hugo_build.lock: function not implemented

run with --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.

Do you have an idea or suggestion for a blog post? Submit it here!

Related Posts

2023 Phoenix VMUG UserCon

  • vnull
  • Sep 8, 2023
  • 4 minutes read

Introduction: The recent 2023 Phoenix VMUG UserCon brought together some like-minded people in the field, with discussions ranging from VMware technologies to best practices for optimizing existing systems.

Read more

Red Hat User Group Insights, Ansible Automation Platform, and ITSM Integration

  • vnull
  • Jun 1, 2023
  • 3 minutes read

Introduction: This blog post aims to summarize the key takeaways from this informative workshop. At the recent Red Hat User Group workshop on Red Hat Insights, Red Hat Ansible Automation Platform, and their integration with management (ITSM) systems, such as ServiceNow, provided valuable insights into how these technologies work together.

Read more

Robocopy Examples

  • vnull
  • Feb 10, 2023
  • 5 minutes read

Robocopy Examples Robocopy has many command line options and it can be overwhelming to know which commands to use. In this post, we will take a look at how to ues robocopy to copy, mirror, purge Files and Folders.

Read more