Skip to main content

Posts

Showing posts from 2022

AWS amplify hugo App build specification amplify.yml

 I needed a content-oriented site with solely static content for a little project I'm working on, so Hugo was an obvious choice. I looked into using AWS Amplify to host it, But the default amplify.yml not working for me and can't find the correct build file, I have modified the amplify.yml to build the Hugo cms. Hope this is helpful, Please comment. version : 1 frontend : phases : build : commands : - npm install - npm run build:webpack && npm run build:hugo artifacts : baseDirectory : dist files : - '**/*' cache : paths : []

Easy site migration with hugo cms and netlify

 Old slow non-secure drupal base Sri Lanka hotel booking website migrated to netlify platform. Using Hugo cms these contents easily be migrated to a static website. The old backup data source can easily load to Hugo cms using gomplate tool. Gomplate :  A flexible commandline tool for template rendering. Supports lots of local and remote datasources. Reference : https://srilanka.lowcosthotelbooking.com/   https://lowcosthotelbooking.com/ https://gohugo.io/ https://www.netlify.com/ https://gomplate.ca/