diff options
author | shampaakter <shampa.themefisher@gmail.com> | 2021-09-05 07:48:53 +0300 |
---|---|---|
committer | shampaakter <shampa.themefisher@gmail.com> | 2021-09-05 07:48:53 +0300 |
commit | d9a7ff46731693ab8aaabd49e440c28a21d68343 (patch) | |
tree | 2fb2ba5234b545b04fa9180be701fa89cf34030f | |
parent | 5fa4ac195ae2d3628409587500aba0a1d287f8da (diff) |
added netlify.toml file, modified README.md file
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | exampleSite/netlify.toml | 16 |
2 files changed, 23 insertions, 8 deletions
@@ -1,8 +1,8 @@ <h1 align=center>Liva Hugo Theme | <a target="_blank" href="https://demo.gethugothemes.com/liva" rel="nofollow">Demo</a> | <a target="_blank" href="https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fdemo.gethugothemes.com%2Fliva%2F">Page Speed (77%)</a></h1> <p align=center> - <a href="https://github.com/gohugoio/hugo/releases/tag/v0.87.0" alt="Contributors"> - <img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.87.0&color=f00&logo=hugo" /> + <a href="https://github.com/gohugoio/hugo/releases/tag/v0.58.0" alt="Contributors"> + <img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.58.0&color=f00&logo=hugo" /> </a> <a href="https://github.com/gethugothemes/liva-hugo/blob/master/LICENSE"> @@ -33,7 +33,7 @@ - Netlify settings predefined - Contact form Support - Search by fuse.js -- GDPR consent enabled) +- GDPR consent enabled - Google page speed optimized ( 77% ) ## Local development @@ -53,14 +53,13 @@ Or Check out [Full Documentation](https://docs.gethugothemes.com/liva/?ref=githu ## Content Management System [![import to -Forestry](https://assets.forestry.io/import-to-forestryK.svg)](https://app.forestry.io/quick-start?repo=gethugothemes/liva-hugo&engine=hugo&version=0.80.0) +Forestry](https://assets.forestry.io/import-to-forestryK.svg)](https://app.forestry.io/quick-start?repo=gethugothemes/liva-hugo&engine=hugo&version=0.87.0) This project has been pre-configured to work with [Forestry](https://forestry.io) a git-based CMS, [import your -repository in Forestry](https://app.forestry.io/quick-start?repo=gethugothemes/liva-hugo&engine=hugo&version=0.80.0) and +repository in Forestry](https://app.forestry.io/quick-start?repo=gethugothemes/liva-hugo&engine=hugo&version=0.87.0) and you will be able to edit and preview your site ✨. -Any changes you make in Forestry will be committed back to the repo and deployed if you use [Netlify](#netlify) or -[Vercel](#vercel). +Any changes you make in Forestry will be committed back to the repo and deployed if you use [Netlify](#netlify). ## Deployment and hosting @@ -124,6 +123,6 @@ We are available for **Hiring** for your next HUGO project. Please, check our ## Premium Themes By Us -| [![Mega-Bundle-HUGO](https://gethugothemes.com/wp-content/uploads/edd/2019/09/Mega-Bundle-HUGO.png)](https://themefisher.com/products/hugo-mega-bundle/) | [![reader](https://gethugothemes.com/wp-content/uploads/edd/2020/09/Reader.jpg)](https://gethugothemes.com/products/reader/) | [![logbook](https://gethugothemes.com/wp-content/uploads/edd/2020/03/logbook-hugo.jpg)](https://gethugothemes.com/products/logbook-hugo/) | +| [![Mega-Bundle-HUGO](https://gethugothemes.com/wp-content/uploads/edd/2019/09/Mega-Bundle-HUGO.png)](https://themefisher.com/products/hugo-mega-bundle/) | [![galaxy](https://gethugothemes.com/wp-content/uploads/edd/2020/04/galaxy.png)](https://gethugothemes.com/products/galaxy/) | [![logbook](https://gethugothemes.com/wp-content/uploads/edd/2020/03/logbook-hugo.jpg)](https://gethugothemes.com/products/logbook-hugo/) | |:---:|:---:|:---:| | **Premium Theme Bundle (40+)** | **Galaxy** | **LogBook** |
\ No newline at end of file diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml new file mode 100644 index 0000000..25b63b3 --- /dev/null +++ b/exampleSite/netlify.toml @@ -0,0 +1,16 @@ +[build] + publish = "public" + command = "hugo --minify --gc" + +[build.environment] + HUGO_VERSION = "0.87.0" + HUGO_BASEURL = "/" + +[[headers]] + for = "/*" # This defines which paths this specific [[headers]] block will cover. + +[headers.values] + X-Frame-Options = "DENY" + X-XSS-Protection = "1; mode=block" + Referrer-Policy = "same-origin" + Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" |