ref: dd574628a074a7d8d13e712ba8af06eda642f82f
parent: ceb708052a509e4778b0b9c6728433344ed28d20
author: spf13 <[email protected]>
date: Tue Dec 10 14:38:52 EST 2013
Adding community section to the documentation
--- /dev/null
+++ b/docs/content/community/contributing.md
@@ -1,0 +1,52 @@
+---
+title: "Contributing to Hugo"
+date: "2013-07-01"
+aliases: ["/doc/contributing/", "/meta/contributing/"]
+groups: ["community"]
+groups_weight: 30
+---
+
+We welcome all contributions. If you want to contribute, all
+that is needed is simply fork Hugo, make changes and submit
+a pull request. **All pull requests must include comprehensive test cases.**
+If you prefer, pick something from the roadmap
+or contact [spf13](http://spf13.com) about what may make sense
+to do next.
+
+## Overview
+
+1. Fork Hugo from https://github.com/spf13/hugo
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Add some feature'`)
+4. Commit passing tests to validate changes.
+5. Push to the branch (`git push origin my-new-feature`)
+6. Create new Pull Request
+
+
+# Building from source
+
+### Clone locally (for contributors):
+
+ git clone https://github.com/spf13/hugo
+ cd hugo
+ go get
+
+Because go expects all of your libraries to be found in either
+$GOROOT or $GOPATH, it's helpful to symlink the project to one
+of the following paths:
+
+ * ln -s /path/to/your/hugo $GOPATH/src/github.com/spf13/hugo
+ * ln -s /path/to/your/hugo $GOROOT/src/pkg/github.com/spf13/hugo
+
+### Running Hugo
+
+ cd /path/to/hugo
+ go install github.com/spf13/hugo/hugolibs
+ go run main.go
+
+### Building Hugo
+
+ cd /path/to/hugo
+ go build -o hugo main.go
+ mv hugo /usr/local/bin/
+
--- /dev/null
+++ b/docs/content/community/contributors.md
@@ -1,0 +1,14 @@
+---
+title: "Contributors"
+date: "2013-07-01"
+aliases: ["/doc/contributors/", "/meta/contributors/"]
+groups: ["community"]
+groups_weight: 40
+---
+
+Hugo was built with love and golang by:
+
+* Steve Francia - [spf13](https://github.com/spf13)
+* Noah Campbell - [noahcampbell](https://github.com/noahcampbell)
+* [Many more](http://github.com/spf13/hugo/graphs/contributors)
+
--- /dev/null
+++ b/docs/content/community/hall-of-fame.md
@@ -1,0 +1,17 @@
+---
+title: "Hall of Fame"
+date: "2013-07-01"
+groups: ["community"]
+groups_weight: 20
+---
+
+Here we have listed sites built using Hugo.
+
+If you want to be added to this page please send a [pull request](https://github.com/spf13/hugo/pulls).
+
+
+
+| **Site** | **Source** | **License** |
+| ------------------------------- | --------------------------------------------- | -----------: |
+| [hugo](http://hugo.spf13.com) | [source](http://github.com/spf13/hugo/docs) | SIMPL |
+| [spf13](http://spf13.com) | [source](http://github.com/spf13/spf13.com) | MIT |
--- /dev/null
+++ b/docs/content/community/mailing-list.md
@@ -1,0 +1,34 @@
+---
+title: "Mailing List"
+date: "2013-07-01"
+groups: ["community"]
+groups_weight: 10
+---
+
+Hugo has two mailing lists:
+
+### Announcements
+Very low traffic. Only releases will be emailed here.
+
+https://groups.google.com/forum/#!forum/hugo-announce
+
+### Discussion
+For all questions and discussions:
+
+https://groups.google.com/forum/#!forum/hugo-discuss
+
+# Other Resources
+
+### GoNuts
+
+For general go questions or discussion please refer to the go mailing list.
+
+https://groups.google.com/forum/#!forum/golang-nuts
+
+### Github Issues
+
+https://github.com/spf13/hugo/issues
+
+
+Hugo doesn't have it's own twitter handle, but feel free to tweet [@spf13](http://twitter.com/spf13).
--- a/docs/content/meta/contributing.md
+++ /dev/null
@@ -1,47 +1,0 @@
----
-title: "Contributing to Hugo"
-date: "2013-07-01"
-aliases: ["/doc/contributing/"]
-groups: ["meta"]
-groups_weight: 30
----
-
-We welcome all contributions. If you want to contribute, all
-that is needed is simply fork Hugo, make changes and submit
-a pull request. If you prefer, pick something from the roadmap
-or contact [spf13](http://spf13.com) about what may make sense
-to do next.
-
-## Overview
-1. Fork it from https://github.com/spf13/hugo
-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
-
-
-### Clone locally (for contributors):
-
- git clone https://github.com/spf13/hugo
- cd hugo
- go get
-
-Because go expects all of your libraries to be found in either
-$GOROOT or $GOPATH, it's helpful to symlink the project to one
-of the following paths:
-
- * ln -s /path/to/your/hugo $GOPATH/src/github.com/spf13/hugo
- * ln -s /path/to/your/hugo $GOROOT/src/pkg/github.com/spf13/hugo
-
-### Running Hugo
-
- cd /path/to/hugo
- go install github.com/spf13/hugo/hugolibs
- go run main.go
-
-### Building Hugo
-
- cd /path/to/hugo
- go build -o hugo main.go
- mv hugo /usr/local/bin/
-
--- a/docs/content/meta/contributors.md
+++ /dev/null
@@ -1,14 +1,0 @@
----
-title: "Contributors"
-date: "2013-07-01"
-aliases: ["/doc/contributors/"]
-groups: ["meta"]
-groups_weight: 40
----
-
-Hugo was built with love and golang by:
-
-* Steve Francia - [spf13](https://github.com/spf13)
-* Noah Campbell - [noahcampbell](https://github.com/noahcampbell)
-* [Many more](http://github.com/spf13/hugo/graphs/contributors)
-
--- a/docs/layouts/chrome/header.html
+++ b/docs/layouts/chrome/header.html
@@ -10,6 +10,6 @@
{{ template "chrome/menu.html" . }}
- <div class="container">
+ <div class="container" id="main">
<div class="row">
<div class="col-md-12">
--- a/docs/layouts/chrome/menu.html
+++ b/docs/layouts/chrome/menu.html
@@ -53,6 +53,14 @@
{{ end }}
</ul>
</li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ {{ range $key, $value := .Site.Indexes.groups.community.Pages }}
+ <li hugo-nav="{{$value.RelPermalink}}"><a href="{{$value.Permalink}}"> {{ $value.LinkTitle }} </a> </li>
+ {{ end }}
+ </ul>
+ </li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
--- a/docs/static/static/css/styles.css
+++ b/docs/static/static/css/styles.css
@@ -75,3 +75,17 @@
}
}
+
+
+
+#main table{width:100%;margin-bottom:20px;}#main table thead>tr>th,#main table tbody>tr>th,#main table tfoot>tr>th,#main table thead>tr>td,#main table tbody>tr>td,#main table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #dddddd;}
+#main table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd;}
+#main table caption+thead tr:first-child th,#main table colgroup+thead tr:first-child th,#main table thead:first-child tr:first-child th,#main table caption+thead tr:first-child td,#main table colgroup+thead tr:first-child td,#main table thead:first-child tr:first-child td{border-top:0;}
+#main table tbody+tbody{border-top:2px solid #dddddd;}
+#main table #main table{background-color:#ffffff;}
+#main table>tbody>tr:nth-child(odd)>td,#main table>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9;}
+#main table>thead>tr>td.active,#main table>tbody>tr>td.active,#main table>tfoot>tr>td.active,#main table>thead>tr>th.active,#main table>tbody>tr>th.active,#main table>tfoot>tr>th.active,#main table>thead>tr.active>td,#main table>tbody>tr.active>td,#main table>tfoot>tr.active>td,#main table>thead>tr.active>th,#main table>tbody>tr.active>th,#main table>tfoot>tr.active>th{background-color:#f5f5f5;}
+#main table>thead>tr>td.success,#main table>tbody>tr>td.success,#main table>tfoot>tr>td.success,#main table>thead>tr>th.success,#main table>tbody>tr>th.success,#main table>tfoot>tr>th.success,#main table>thead>tr.success>td,#main table>tbody>tr.success>td,#main table>tfoot>tr.success>td,#main table>thead>tr.success>th,#main table>tbody>tr.success>th,#main table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6;}
+#main table>thead>tr>td.danger,#main table>tbody>tr>td.danger,#main table>tfoot>tr>td.danger,#main table>thead>tr>th.danger,#main table>tbody>tr>th.danger,#main table>tfoot>tr>th.danger,#main table>thead>tr.danger>td,#main table>tbody>tr.danger>td,#main table>tfoot>tr.danger>td,#main table>thead>tr.danger>th,#main table>tbody>tr.danger>th,#main table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7;}
+#main table>thead>tr>td.warning,#main table>tbody>tr>td.warning,#main table>tfoot>tr>td.warning,#main table>thead>tr>th.warning,#main table>tbody>tr>th.warning,#main table>tfoot>tr>th.warning,#main table>thead>tr.warning>td,#main table>tbody>tr.warning>td,#main table>tfoot>tr.warning>td,#main table>thead>tr.warning>th,#main table>tbody>tr.warning>th,#main table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5;}
+@media (max-width:768px){#main table{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;border:1px solid #dddddd;}#main table>#main table{margin-bottom:0;background-color:#fff;}#main table>#main table>thead>tr>th,#main table>#main table>tbody>tr>th,#main table>#main table>tfoot>tr>th,#main table>#main table>thead>tr>td,#main table>#main table>tbody>tr>td,#main table>#main table>tfoot>tr>td{white-space:nowrap;} }fieldset{padding:0;margin:0;border:0;}