Explorar el Código

added installation page and modified readme file

tags/v1.0.0
somrat hace 5 años
padre
commit
ffede7a3ef

+ 44
- 23
README.md Ver fichero

@@ -1,41 +1,62 @@
# _Meghna_ for Hugo
<div align="center">

# [Meghna Hugo](https://themefisher.com/hugo-themes/)

[![GitHub stars](https://img.shields.io/github/stars/themefisher/meghna-hugo.svg)](https://github.com/themefisher/meghna-hugo/stargazers)
[![GitHub issues](https://img.shields.io/github/issues/themefisher/meghna-hugo.svg)](https://github.com/themefisher/meghna-hugo/issues)
[![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/themefisher/meghna-hugo.svg?maxAge=2592000)]()
[![GitHub forks](https://img.shields.io/github/forks/themefisher/meghna-hugo.svg)](https://github.com/themefisher/meghna-hugo/network)

<img src="https://user-images.githubusercontent.com/37659754/54068559-44d79a80-4278-11e9-9601-f58d6879989c.gif" alt="screenshot" width="100%">

</div>

Meghna is a clean, unique, business website template. Built with refined business as well as corporate elements, and saturated with rich typography, Meghna is lightweight, fast-loading, responsive and W3C-validated, delivering a great first impression to visitors.

## Table of Contents

- [Demo](#demo)
- [Installation](#installation)
- [Reporting Issues](#reporting-issues)
- [Technical Support or Questions](#technical-support-or-questions)
- [Licensing](#licensing)
- [More Hugo Themes](https://themefisher.com/hugo-themes/)

## Demo
![screenshot](https://user-images.githubusercontent.com/5304905/51797809-69316780-2234-11e9-9c99-3a6d2476ffad.jpg)
[Demo](https://themes.gohugo.io/theme/meghna-hugo/)
[Live Demo](https://themes.gohugo.io/theme/meghna-hugo/).

## Usage
## Installation

Create a new Hugo site by typing
Navigate to your themes folder in your Hugo site and use the following commands:

```
$ hugo new site <SITENAME>
$ mkdir themes
$ cd themes
$ git clone git@github.com:themefisher/meghna-hugo.git
```

Then clone this repository:
[Full Documentation](https://themes.gohugo.io/theme/meghna-hugo/blog/installation/).

```
$ cd <SITENAME>/themes
$ git clone https://github.com/themefisher/meghna-hugo
```
## Reporting Issues

Now copy all files inside `examplesite` and replace it root folder where hugo site is installed.
We use GitHub Issues as the official bug tracker for the Meghna Template. Please Search [existing issues](https://github.com/themefisher/meghna-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/meghna-hugo/issues)

### Preview site
```
$ hugo server
```
to browse site on http://localhost:1313
## Technical Support or Questions

For more information read the official [Hugo Documentation](//gohugo.io/overview/installing/).
If you have questions or need help integrating the product please [contact us](mailto:themefisher@gmail.com) instead of opening an issue.

## License
## Licensing

This Theme is released under [Creative Commons Attribution 3.0 (CC-BY-3.0) License](https://creativecommons.org/licenses/by/3.0/)
If you want to remove the credit simply make a [donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GSG5G2YL3E5V4), so that we can run our contribution to hugo community.

# Premium Themes
After getting huge response from the community we (themefisher) developed a creative premium theme called Biztrox . Check live preview from [here](http://demo.themefisher.com/themefisher/biztrox-hugo).
Get the theme from [here](https://themefisher.com/products/biztrox-hugo-template/)
## Hire Us
We are available for Hiring of your next HUGO project. Drop Us a mail [themefisher@gmail.com](mailto:themefisher@gmail.com)

## Premium Themes

## We are available for Hiring of your next HUGO project. Drop Us a mail [themefisher@gmail.com](mailto:themefisher@gmail.com)
| Biztrox | Bexer | Small Apps | Dtox |
|---|---|---|---|
| [![Biztrox](https://user-images.githubusercontent.com/37659754/54068875-6ab26e80-427b-11e9-876e-4670bdacb975.png)](https://themefisher.com/products/biztrox-hugo-template/) | [![Bexer](https://user-images.githubusercontent.com/37659754/54068892-84ec4c80-427b-11e9-9952-5d455c259145.png)](https://themefisher.com/products/bexer-hugo-theme/) | [![Small Apps](https://user-images.githubusercontent.com/37659754/54068897-96cdef80-427b-11e9-8fd4-2a5b83cea6d0.png)](https://themefisher.com/products/small-apps-hugo-app-landing-theme/) | [![Dtox](https://user-images.githubusercontent.com/37659754/54068836-07284100-427b-11e9-8ff2-48eec3220a26.png)](https://themefisher.com/products/dtox-hugo-theme/) |

+ 1
- 0
exampleSite/config.toml Ver fichero

@@ -3,6 +3,7 @@ languageCode = "en-us"
DefaultContentLanguage = "en"
title = "Meghna"
theme = "meghna-hugo"
summaryLength = 10

[taxonomies]
author = "author"

+ 83
- 0
exampleSite/content/blog/installation.md Ver fichero

@@ -0,0 +1,83 @@
+++
title = "How To Setup Meghna Hugo"
date = "2019-3-06T21:49:20+02:00"
description = "This is meta description for blog page"
tags = ["golang", "programming", "theme", "hugo"]
categories = ["starting"]
author = "Themefisher"
image = "images/blog/meghna.png"
+++

## Install this template by following those simple steps:

### STEP-1 : Hugo installation

Check this link below for install hugo on your computer.
[hugo install documentation](https://gohugo.io/getting-started/installing/)

### STEP-2 : Create your project

Hugo provides a `new` command to create a new website.

```
hugo new site <new_project>
```

### STEP-3 : Install the theme
Run this command
```
hugo new site meghna-hugo
```
and then go to the themes folder inside of meghna-hugo folder. You can also use this command ```cd meghna-hugo/themes``` for going to this folder.
Then run the command
```
git clone git@github.com:themefisher/meghna-hugo.git
```

Alternatively, you can [download the theme as .zip](https://github.com/themefisher/meghna-hugo/archive/master.zip) file and extract it in the `themes` directory

After that you need to go to the `meghna-hugo/exampleSite` folder and copy or cut all the elements, and now go back to the root folder and paste it here.

open the command prompt again and run `cd ../` command for go back to the root folder.

### STEP-4 : Host locally

Launching the website locally by using the following command:

```
hugo serve
```

Go to `http://localhost:1313`

Or you can check this video documentation for installing this template:
{{< youtube 3O3qvDoVp5g >}}

### STEP-5 : Basic configuration

When building the website, you can set a theme by using `--theme` option. However, we suggest you modify the configuration file (`config.toml`) and set the theme as the default.

```toml
# Change the default theme to be use when building the site with Hugo
theme = "meghna-hugo"
```

### STEP-6 : Create your first content pages

```
hugo new blog/post-name.md
```

### STEP-7 : Build the website

When your site is ready to deploy, run the following command:

```
hugo

# You can also create a minified version by using this command:
hugo--minify

```

A `public` folder will be generated, containing all static content and assets for your website. It can now be deployed on any web server.

BIN
exampleSite/static/images/blog/meghna.png Ver fichero


Cargando…
Cancelar
Guardar