With the static generator Hugo and the nice theme hugo-theme-learn we can easily build a skeleton for a documentation site.
[Read More]Hugo on Kindle Fire Hd
Using termux on a Kindle Fire HD to manage a hugo site
On a Kindle Fire HD we are going to install everything we need to update our hugo site.
Install termux
[Read More]Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are available using the APT package manager.
Hugo Shortcuts
Some useful commands for Hugo.
[Read More]Hello Page Bundle
Keeping content organized in Hugo
The Hugo documentation have a nice example on how to structure images and other resources in a page bundle.
[Read More]Migrate Wordpress to Hugo
Migration of old sites and articles to Hugo
Jekyll Exporter (github page) is a plugin that will export everything from WordPress to Jekyll.
There is also WordPress to Hugo Exporter but I choose the one for jekyll because the plugin is already available in the WordPress plugins.
A good amount of work is still needed to fix the results so I didn’t bother.
Change wordpress site URL The old site url is not available. I created a new CNAME in the DNS.
[Read More]
Hugo Configure a Site Part 3
Custom domain Github custom domain Offical instructions
Go to the repository containing the site and move to the Settings panel. gabrieleteotino settings
Github settings tab Scroll down to GitHub Pages section find Custom Domain and insert or modify the domain “www.teosoft.it” and click Save
Github custom domain DNS configuration Open the control panel of the site registar. Open the DNS section.
[Read More]
Configure a site using Hugo - part 2
Creating the bluish capsule using Hugo, Atom and Github
Structure We are going to create the following folders one for each area of the site.
/content/page - static pages like About and so on /content/post - a section with articles and turorials /content/project - will contain a subfolder for each project /content/review - review of products bough online from amazon, aliexpress, … /content/note - small snippets of stuff like links to a nice library or an interesting article Create an index page for each section of the site.
[Read More]
Configure a site using Hugo - part 1
Creating the bluish capsule using Hugo, Atom and Github
Using Hugo for this website A step by step description on how the bluish capsule was born.
Installing Hugo Detailed instructions are available at the official Hugo site
Download the deb package from Hugo Releases
sudo dpkg -i hugo_0.36.1_Linux-64bit.deb Test if everithing works
hugo version Atom Plugins Nice autocomplete for hugo shortodes language-hugo
For example typing youtube and hitting tab the following snippet will be generated:
\{\{< youtube id class="" >\}\} Some key combination for common Hugo activities atom-hugo
[Read More]