diff options
author | shampaakter <shampa.themefisher@gmail.com> | 2021-09-06 13:35:43 +0300 |
---|---|---|
committer | shampaakter <shampa.themefisher@gmail.com> | 2021-09-06 13:35:43 +0300 |
commit | fbff9c93d0aad3945a4587c73e59b7e7e267be01 (patch) | |
tree | 365fd599a82dc40336ae314415d77e1ee8369104 | |
parent | da532e579f74f57618446a1c6b0b5833a7c53e99 (diff) |
added netlify.toml file, updated theme.toml, readme and license file
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | README.md | 141 | ||||
-rw-r--r-- | exampleSite/netlify.toml | 16 | ||||
-rw-r--r-- | theme.toml | 1 |
4 files changed, 112 insertions, 48 deletions
@@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 themefisher +Copyright (c) 2021 themefisher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -1,81 +1,128 @@ -# Easy Setup (Hugo + Netlify + Forestry) -Build your website with Parsa hugo theme by following this easy steps (No Coding Required) +<h1 align=center>Parsa Hugo | <a target="_blank" href="https://demo.gethugothemes.com/parsa" rel="nofollow">Demo</a> | <a target="_blank" href="https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https%3A%2F%2Fdemo.gethugothemes.com%2Fparsa%2F">Page Speed (83%)</a></h1> -<a href="http://bit.ly/meghna-hugo-installation" target="_blank" title="meghna hugo installation" rel="nofollow"><img width="100%" src="https://user-images.githubusercontent.com/37659754/70844354-4028be00-1e6a-11ea-8d84-02e9a25e7db8.png"></a> +<p align=center> + <a href="https://github.com/gohugoio/hugo/releases/tag/v0.62.2" alt="Contributors"> + <img src="https://img.shields.io/static/v1?label=min-HUGO-version&message=0.62.2&color=f00&logo=hugo" /> + </a> -In this tutorial we will show you to make your website live without buying any hosting and touching a single line of code. We made this tutorial based on [meghna hugo](https://github.com/themefisher/meghna-hugo) but you can setup everything like this. + <a href="https://github.com/themefisher/parsa-hugo/blob/master/LICENSE"> + <img src="https://img.shields.io/github/license/themefisher/parsa-hugo" alt="license"></a> -### What you need !! + <img src="https://img.shields.io/github/languages/code-size/themefisher/parsa-hugo" alt="code size"> -1. Git account (Ex: Github, Gitlab etc ) . In our case we use github. -2. [Netlify](https://bit.ly/netlify-account) account to host files and add custom domain . -3. [Forestry](https://bit.ly/forestry-account) account to maintain whole project without code. + <a href="https://github.com/themefisher/parsa-hugo/graphs/contributors"> + <img src="https://img.shields.io/github/contributors/themefisher/parsa-hugo" alt="contributors"></a> + <a href="https://twitter.com/intent/follow?screen_name=gethugothemes"> + <img src="https://img.shields.io/twitter/follow/gethugothemes?style=social&logo=twitter" + alt="follow on Twitter"></a> +</p> -### Step 1 : Fork or Clone repository +--- -First we will fork this [parsa hugo](https://github.com/themefisher/parsa-hugo) template. +<p align="center"> -### Step 2 : Add your repository in Forestry -Go to your [forestry](https://bit.ly/forestry-account) account and click on `import your site now`. declare your config.toml file [`exampleSite`] and fill up basic settings . Mark everything is done then go to configuration to change the base url . You can put any url but this have to similar as netlify . So for now put a name which you are going to put in netlify as netlify subdomain. +![parsa](images/tn.png) +</p> -### Step 3 : Setup and host website with Netlify +--- +## Features +- Google analytics ssupport +- CSS and JS bundle with hugo pipe +- Netlify settings predefine +- Forestry cms pre-configured +- Contact form Support +- Search by fuse.js +- Instagram feed available +- GDPR consent enable +- Post reading time calculator +- Masonary support +- Multiple author and single author available +- Google page speed optimized ( 83% ) +- Open graph meta tag +- Twitter card meta tag -Here comes the last step . Go to your [netlify](https://bit.ly/netlify-account) account and click add new site . Choose your git repository to import your website in netlify . And now you can see the forked `parsa hugo` theme. select it and follow the steps. Then go to `site settings` for change the site name and put your subdomain name here what you put on forestry as base url. save it and go to `deploy` from top menu, Wait a while and click on `site preview` or just simply go to the subdomain you put as base url. **BOOM! Your site is live.** Now you can go to forestry and add, remove or customize every setting and content. -> If you face any issue regarding the installation feel free to [open a new issue](https://github.com/themefisher/parsa-hugo/issues) +## Local development +```bash +# clone the repository +git clone git@github.com:themefisher/parsa-hugo.git -## Table of Contents +# cd in the project directory +$ cd parsa-hugo/exampleSite/ -- [Demo](#demo) -- [Installation](#installation) -- [Reporting Issues](#reporting-issues) -- [Technical Support or Questions](#technical-support-or-questions-(paid)) -- [Licensing](#licensing) -- [More Hugo Themes](https://themefisher.com/hugo-themes/) +# Start local dev server +$ hugo server --themesDir ../.. +``` +Or Check out [Full Documentation](https://docs.gethugothemes.com/parsa/?ref=github). +## Content Management System -## Demo +[![import to +Forestry](https://assets.forestry.io/import-to-forestryK.svg)](https://app.forestry.io/quick-start?repo=themefisher/parsa-hugo&engine=hugo&version=0.87.0) -| ![](https://user-images.githubusercontent.com/37659754/58609653-2c50ac80-82ca-11e9-9f42-887141a0f6dd.png) | ![](https://user-images.githubusercontent.com/37659754/58609715-7043b180-82ca-11e9-9225-dfc9d255f516.png) | ![](https://user-images.githubusercontent.com/37659754/58609747-894c6280-82ca-11e9-9253-d1256af4aad9.png) | ![](https://user-images.githubusercontent.com/37659754/58609762-9cf7c900-82ca-11e9-9956-53e6a3b65636.png) | ![](https://user-images.githubusercontent.com/37659754/58609777-ac771200-82ca-11e9-9814-9e1fc7404b91.png) | -|---|---|---|---|---| -| Homepage | Homepage 2 | Single | About | Contact | +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=themefisher/parsa-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). +## Deployment and hosting -**The images are only for demonstration purpose, Please don't use those images.** +[![Deploy to +Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/themefisher/parsa-hugo) -[Live Preview](http://demo.themefisher.com/parsa-hugo/). +Follow the steps. +## Prefer a video? (Hugo + Netlify + Forestry) +Build your website with **Parsa Hugo** theme by following these easy steps (No Coding Required!) +[Video Tutorial](https://youtu.be/ResipmZmpDU). -## Installation -At the top we have shown an easy hugo installation. but still if you think you want to go with the traditional way then use the following commands: +<!-- reporting issue --> +## Reporting Issues +We use GitHub Issues as the official bug tracker for the Parsa Template. Please Search [existing +issues](https://github.com/themefisher/parsa-hugo/issues). Someone may have already reported the same problem. +If your problem or idea has not been addressed yet, feel free to [open a new +issue](https://github.com/themefisher/parsa-hugo/issues). -**Note : You must use `hugo-extended` version to compile SCSS** +<!-- ## Parsa Hugo Powered Websites -``` -$ git clone git@github.com:themefisher/parsa-hugo.git -$ cd parsa-hugo/exampleSite/ -$ hugo server --themesDir ../.. -``` -## Reporting Issues -We use GitHub Issues as the official bug tracker for the **Parsa Theme**. Please Search [existing issues](https://github.com/themefisher/parsa-hugo/issues). It’s possible someone has already reported the same problem. -If your problem or idea is not addressed yet, [open a new issue](https://github.com/themefisher/parsa-hugo/issues/new) +View all the websites powered by Parsa Hugo [here](https://github.com/themefisher/parsa-hugo/wiki/All-parsa-hugo-Powered-Websites). Want to submit your own website powered by Parsa Hugo? You can submit it [here](https://github.com/themefisher/parsa-hugo/discussions/51). --> + +<!-- licence --> +## License +Copyright © Designed by [Themefisher](https://themefisher.com) & Developed by +[Gethugothemes](https://gethugothemes.com) -## Technical Support or Questions (Paid) +**Code License:** Released under the [MIT](https://github.com/themefisher/parsa-hugo/blob/master/LICENSE) license. -If you have questions or need help integrating the product please [contact us](mailto:mehedi@themefisher.com) instead of opening an issue. +**Image license:** The images are only for demonstration purposes. They have their licenses. We don't have permission to +share those images. -## Licensing +<!-- resources --> +## Special Thanks +- [Bootstrap](https://getbootstrap.com) +- [Jquery](https://jquery.com) +- [Themify Icons](https://themify.me/themify-icons) +- [Slick Slider](https://kenwheeler.github.io/slick/) +- [Headroom](https://wicky.nillia.ms/headroom.js) +- [Instafeed](https://instafeedjs.com/) +- [Masonry](https://masonry.desandro.com) +- [Fuse Js](https://fusejs.io) +- [Mark Js](https://markjs.io/) +- [Google Fonts](https://fonts.google.com/) +- [All Contributors](https://github.com/themefisher/parsa-hugo/graphs/contributors) -- Copyright 2020 Designed by [Themefisher](https://themefisher.com/) & Developed by [Gethugothemes](https://gethugothemes.com/) -- Licensed under MIT (https://github.com/themefisher/parsa-hugo/blob/master/LICENSE) -## Premium Themes +## Hire Us +We are available for **Hiring** for your next HUGO project. Please, check our +[services](https://cutt.ly/ght-service) -| [![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 themes --> +## Premium Themes By Us +| [![Mega-Bundle-HUGO](https://demo.gethugothemes.com/thumbnails/bundle.webp)](https://gethugothemes.com/bundle) | [![galaxy](https://demo.gethugothemes.com/thumbnails/galaxy.webp)](https://gethugothemes.com/products/galaxy/) | [![logbook](https://demo.gethugothemes.com/thumbnails/logbook.webp)](https://gethugothemes.com/products/logbook-hugo/) | |:---:|:---:|:---:| -| **Hugo Mega Bundle** | **Galaxy** | **LogBook** | +| **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..df77e54 --- /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"
\ No newline at end of file @@ -3,6 +3,7 @@ license = "MIT" licenselink = "https://github.com/themefisher/parsa-hugo/blob/master/LICENSE" description = "Hugo port of the Themefisher’s Parsa Template" homepage = "https://gethugothemes.com/products/parsa-hugo-theme/" +demosite = "https://demo.gethugothemes.com/parsa/" tags = ['landing-page', 'fast', 'light', 'white', 'modern', 'themefisher', 'hugo-theme', 'hugo-templates', 'bootstrap', 'blog', 'responsive', 'clean', 'simple', 'creative', 'contact-form', 'custom-themes', 'mobile', 'minimalistic', 'pages', 'resume', 'portfolio', 'google analytics', 'customizable', 'flexbox', 'presentation', 'product', 'theme', 'typography'] features = ['bootstrap','responsive'] min_version = "0.62.2" |