Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/pdevty/material-design.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e840e998c0b4f75dc99c6533413939b9bcf0861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Material-Design

Material-Design is a simple material design theme for [Hugo](http://gohugo.io/).

![](https://github.com/pdevty/material-design/blob/master/images/tn.png)

demo : [http://pdevty.github.io/blog/](http://pdevty.github.io/blog/)

## Features

- Simple Material Design by [Materialize](http://materializecss.com/)
- Google Analytics (optional)
- Pagination
- Disqus (optional)
- Twitter, Facebook, Gitlab, GitHub, Google+, LinkedIn links (optional)
- Tags
- Categories
- Cover image (optional)
- Highlighting source code

## Installation

```shell
$ mkdir themes
$ cd themes
$ git clone https://github.com/pdevty/material-design
```

## Usage

```shell
$ hugo server -t material-design -w -D
```

## Configuration

config.toml

```toml
theme="material-design"
baseurl = "Your Site URL"
languageCode = "en-us"
title = "Your Site Title"
MetaDataFormat = "toml"
paginate = 9 # To specify a multiple of 3
disqusShortname = "Your Disqus Name" # optional
copyright = "© 2015 Copyright Text"

[params]
  description = "Your Site Description" # optional
  twitter = "Your Twitter Name" # optional
  gitlab = "Your Gitlab Name" # optional
  github = "Your Github Name" # optional
  facebook = "Your facebook Name" # optional
  gplus = "Your Google+ profile name" # optional
  linkedin = "Your LinkedIn Name" # optional
  headerCover = "images/headerCover.png" # optional
  footerCover = "images/footerCover.png" # optional
  googleAnalyticsUserID = "Your Analytics User Id" # optional

[permalinks]
  post = "/:year/:month/:day/:title/" # optional
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request