AMP is a simple AMP (Accelerated Mobile Pages) material design theme for Hugo.
- Simple AMP (Accelerated Mobile Pages) Material Design by ampproject
- Google Analytics (optional)
- Menu
- Twitter, Facebook, GitHub, Google+, LinkedIn links (optional)
- Tags (optional)
- Categories (optional)
$ mkdir themes && cd themes
$ git clone https://github.com/pdevty/amp
$ hugo server -t amp
config.toml
theme="amp"
baseurl = "Your Site URL"
title = "Your Site Title"
copyright = "© 2016 Copyright Text"
canonifyurls = true
[params]
description = "Your Site description for top page" #optional
googleanalytics = "Your Tracking Id" # optional
# optional
[social]
twitter = "Your Twitter Name"
github = "Your Github Name"
facebook = "Your facebook Name"
gplus = "Your Google+ profile name"
linkedin = "Your LinkedIn Name"
$ hugo new post/my-new-post.md
content/post/my-new-post.md
---
title: "my new post"
date: "2016-09-01"
tags: ["x", "y"]
categories: ["x", "y"]
menu:
main:
parent: tutorials
---
content here
{{< img src="/img/img.png" width="320" height="50" >}}
{{< youtube lBTCB7yLs8YTTTTT >}}
{{< twitter 6387934905210019852222 >}}
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request