Permalink
Browse files

Init

  • Loading branch information...
0 parents commit e98723d68da35a7b1af0fe109b9159dc05790629 Daisuke Tsuji committed Jan 9, 2015
@@ -0,0 +1 @@
+public/
@@ -0,0 +1,21 @@
+# The MIT License (MIT)
+
+Copyright (c) 2014 Daisuke Tsuji.
+
+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 the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
@@ -0,0 +1,104 @@
+# Aglaus
+
+ Sorry, I do not have a good at English.
+ It is naive English, but please acknowledge.
+
+Aglaus is a single-column theme for [Hugo](http://gohugo.io/).
+
+![Aglaus Screenshot](https://raw.githubusercontent.com/dim0627/hugo_theme_aglaus/master/images/top.png)
+
+![Aglaus Screenshot](https://raw.githubusercontent.com/dim0627/hugo_theme_aglaus/master/images/bottom.png)
+
+![Aglaus Screenshot](https://raw.githubusercontent.com/dim0627/hugo_theme_aglaus/master/images/post.png)
+
+## Features
+
+* Google Analytics
+* Gravatar Profile
+* Disqus
+* SNS Links(Facebook, Twitter, GitHub)
+* Share Button
+* Eye-catching Image
+* Tagging
+* Related Post
+
+# Installation
+
+Referred from [hugoThemes#Installing Themes](https://github.com/spf13/hugoThemes#installing-themes).
+
+## Installing with other all themes
+
+If you would like to install all of the available hugo themes, simply clone the entire repository from within your working directory.
+
+ git clone --recursive https://github.com/spf13/hugoThemes.git themes
+
+## Installing a single theme
+
+ mkdir themes
+ cd themes
+ git clone https://github.com/dim0627/hugo_theme_aglaus aglaus
+
+## Build with Aglaus
+
+ hugo server -t aglaus
+
+# Configuration
+
+**config.yaml**
+
+``` yaml
+BaseUrl: "http://example.com"
+LanguageCode: "en-us"
+Title: "Aglaus"
+
+Params:
+ Author: "Your name."
+ Birth: "Sun, Feb 26, 1989"
+ DateForm: "Mon, Jan 2, 2006"
+ GoogleAnalyticsUserID: "Your ID."
+ GravatarHash: "Your Hash."
+ Facebook: "Your ID."
+ Twitter: "Your ID."
+ Github: "Your ID."
+ ShowRelatedPost: True
+ Disqus: "Your Disqus."
+ SyntaxHighlightTheme: "solarized_dark.min.css"
+
+Indexes:
+ tag: "tags"
+
+permalinks:
+ post: /blog/:year/:month/:day/:title/
+
+MetadataFormat: "yaml"
+```
+
+Example : [My config.yaml](https://github.com/dim0627/dim0627.github.io/blob/source/config.yaml)
+
+**example post**
+
+``` markdown
+---
+title: "Post title here"
+eyecatch: "hugo.png" # Eye-cathinc image from [static/images/***]
+date: 2014-09-17
+comments: true
+tags: [gitHub, octopress, jekyll]
+---
+
+Contents here
+```
+
+# Read more details
+
+Please read this.
+
+http://yet.unresolved.xyz/hugo_theme_aglaus/blog/2015/01/06/about-aglaus/
+
+# Contact us
+
+Please mail to `dim0627@gmail.com` or SNS.
+
+[https://www.facebook.com/daisuke.tsuji.735](https://www.facebook.com/daisuke.tsuji.735)
+
+[https://twitter.com/dim0627](https://twitter.com/dim0627)
@@ -0,0 +1,25 @@
+BaseUrl: "http://example.com"
+LanguageCode: "en-us"
+Title: "Aglaus"
+
+Params:
+ Author: "Your name."
+ Birth: "Sun, Feb 26, 1989"
+ DateForm: "Mon, Jan 2, 2006"
+ GoogleAnalyticsUserID: "Your ID."
+ GravatarHash: "Your Hash."
+ Facebook: "Your ID."
+ Twitter: "Your ID."
+ Github: "Your ID."
+ ShowRelatedPost: True
+ Disqus: "Your Disqus."
+ SyntaxHighlightTheme: "solarized_dark.min.css"
+
+Indexes:
+ tag: "tags"
+
+permalinks:
+ post: /blog/:year/:month/:day/:title/
+
+MetadataFormat: "yaml"
+
@@ -0,0 +1,30 @@
++++
+title = "About Hugo"
+date = "2014-04-09"
+menu = "main"
++++
+
+Hugo is a static site engine written in go.
+
+
+It makes use of a variety of open source projects including:
+
+* [Cobra](http://github.com/spf13/cobra)
+* [Viper](http://github.com/spf13/viper)
+* [J Walter Weatherman](http://github.com/spf13/jWalterWeatherman)
+* [Cast](http://github.com/spf13/cast)
+
+Learn more and contribute on [GitHub](https://github.com/spf13).
+
+## Setup
+
+Some fun facts about [Hugo](http://hugo.spf13.com)
+
+* Built in [Go](http://golang.org)
+* Loosely inspired by [Jekyll](http://jekyllrb.com)
+* Primarily developed by [spf13](http://spf13.com) on the train while commuting to and from Manhattan.
+* Coded in [Vim](http://vim.org) using [spf13-vim](http://vim.spf13.com)
+
+Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/spf13/hugo/issues/new) or [ask me on Twitter](https://twitter.com/spf13).
+
+Thanks for reading!
@@ -0,0 +1,127 @@
+---
+slug: "about-aglaus-ja"
+title: "Aglausについて"
+eyecatch: "hugo.png"
+date: 2015-01-06
+comments: true
+tags: ["hugo", "golang", "aglaus"]
+---
+
+## Hugo用テーマ[Aglaus]について
+
+[Aglaus](https://github.com/dim0627/hugo_theme_aglaus)はGolangで書かれた静的サイトジェネレータ、[Hugo](http://gohugo.io)用のテーマです。
+
+導入方法については[Aglaus](https://github.com/dim0627/hugo_theme_aglaus)の`README.md`を参照してください。
+
+### コメント
+
+[Disqus](https://disqus.com/)が導入出来ます。
+
+`config.yaml``Disqus`を設定し、記事のMarkdownに`comments: true`を設定してください。
+
+[<img src="/hugo_theme_aglaus/images/desc_disqus.png" class="image" alt="disqus">](/hugo_theme_aglaus/images/desc_disqus.png)
+
+設定されなかった場合、コメント欄は表示されません。
+
+特定の記事のみコメントを拒否する場合は、`comments`を未設定にするか、`false`を設定してください。
+
+``` markdown
+---
+title: "about-aglaus"
+date: 2015-01-06
+comments: false
+---
+
+## About hugo theme [Aglaus]
+ :
+ :
+```
+
+### アイキャッチ画像
+
+記事単位にアイキャッチ画像が設定出来ます。
+
+[<img src="/hugo_theme_aglaus/images/desc_eyecatch.png" class="image" alt="eyecatch">](/hugo_theme_aglaus/images/desc_eyecatch.png)
+
+記事のMarkdownファイルに`eyecatch`を設定し、`static/images/`以下に画像を配備してください。
+
+``` markdown
+---
+title: "about-aglaus"
+eyecatch: "hugo.png"
+date: 2015-01-06
+---
+
+## About hugo theme [Aglaus]
+ :
+ :
+```
+
+不要な場合は記述を削除することでデフォルト画像が表示されます。
+
+### タギング
+
+`tags`を設定することで、記事にタグをつけることが出来ます。
+
+``` markdown
+---
+title: "about-aglaus"
+date: 2015-01-06
+tags: ["hugo", "aglaus"]
+---
+
+## About hugo theme [Aglaus]
+ :
+ :
+```
+
+タグは記事個別ページの下部に表示され、関連する投稿のインデクシングに利用されます。
+
+[<img src="/hugo_theme_aglaus/images/desc_tags.png" class="image" alt="tags">](/hugo_theme_aglaus/images/desc_tags.png)
+
+### 関連する投稿
+
+タグを基準に関連する投稿を表示します。
+
+[<img src="/hugo_theme_aglaus/images/desc_tags.png" class="image" alt="tags">](/hugo_theme_aglaus/images/desc_tags.png)
+
+`config.yaml``ShowRelatedPost``False`にすることで非表示にできます。
+
+その場合、タグも表示されなくなります。
+
+### プロフィール
+
+ページ下部にプロフィールを表示出来ます。
+
+[<img src="/hugo_theme_aglaus/images/desc_profile.png" class="image" alt="profile">](/hugo_theme_aglaus/images/desc_profile.png)
+
+表示する情報は[Gravatar](https://gravatar.com/)から取得しているため、`config.yaml``GravatarHash`を設定する必要があります。
+
+ハッシュの取得については[Creating the Hash](https://ja.gravatar.com/site/implement/hash/)を参照してください。
+
+設定がない場合、プロフィールは表示されません。
+
+### ソーシャルリンク
+
+プロフィールに[Facebook](https://www.facebook.com/)、[Twitter](https://twitter.com/)、[GitHub](https://github.com/)のリンクを配置出来ます。
+
+[<img src="/hugo_theme_aglaus/images/desc_profile.png" class="image" alt="profile">](/hugo_theme_aglaus/images/desc_profile.png)
+
+`config.yaml``Facebook``Twitter``Github`のIDを設定する必要があります。
+
+設定がない場合、リンクは表示されません。
+
+### シェアボタン
+
+ページ最下部にシェアボタンが表示されます。
+
+[<img src="/hugo_theme_aglaus/images/desc_share.png" class="image" alt="share">](/hugo_theme_aglaus/images/desc_share.png)
+
+[SHAREBUTTON](http://sharebutton.net/)のプラグインを利用しています。
+
+## お問い合わせ
+
+[https://www.facebook.com/daisuke.tsuji.735](https://www.facebook.com/daisuke.tsuji.735)
+
+[https://twitter.com/dim0627](https://twitter.com/dim0627)
+
Oops, something went wrong.

0 comments on commit e98723d

Please sign in to comment.