Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
azmelanar committed Nov 15, 2014
0 parents commit dc8ba13
Show file tree
Hide file tree
Showing 48 changed files with 1,872 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.swp

public/*
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2014 Dmitriy Slupytskyi

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.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Pixyll

Pixyll is a simple, beautiful theme for [Hugo](http://gohugo.io/).
5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
description = ""
tags = []
categories = []
+++
12 changes: 12 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
languageCode = "en-us"
contentdir = "content"
publishdir = "public"
builddrafts = false
baseUrl = ""
canonifyurls = true
title = "Pixyll"
author = "admin"

[indexes]
category = "categories"
tag = "tags"
9 changes: 9 additions & 0 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
+++
date = "2014-11-08T16:42:18+04:00"
draft = true
title = "About"
slug = "about"

+++

Few words about project.
14 changes: 14 additions & 0 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
+++
date = "2014-11-09T13:49:44+04:00"
draft = true
title = "Contact"
slug = "contact"

+++

List of contacts:

- first contact
- second contact

Or can be usefull for form.
20 changes: 20 additions & 0 deletions content/post/hello.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
+++
date = "2014-11-08T18:30:03+04:00"
draft = false
title = "Hello, Hugo!"
slug = "hello"
tags = [ "" ]
categories = [ "" ]

+++

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent finibus eros
vel placerat feugiat. Integer scelerisque dui nec mi euismod, eu lacinia est
commodo. Fusce nec malesuada orci. Aenean rhoncus eros consequat, tincidunt nisi
quis, porttitor est. Aenean tincidunt sit amet lectus eu bibendum. Duis
malesuada consectetur augue, a eleifend augue maximus vel. Duis in nunc
consectetur, eleifend massa vitae, lobortis nibh. Etiam eget malesuada metus.
Duis varius vel diam a vehicula. Maecenas sed dui ac tortor hendrerit
scelerisque. Sed aliquam tellus a lacus malesuada malesuada. Nullam accumsan,
metus nec placerat gravida, dolor metus pretium ante, at ultrices ex eros vitae
ligula. Integer luctus gravida finibus.
11 changes: 11 additions & 0 deletions layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{ partial "head.html" . }}
<div class="site-wrap">
{{ partial "header.html" . }}

<div class="post p2 p-responsive wrap" role="main">
<div class="measure">
<p>404</p>
</div>
</div>
</div>
{{ partial "footer.html" . }}
Empty file added layouts/_default/single.html
Empty file.
19 changes: 19 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{ partial "head.html" . }}
<div class="site-wrap">
{{ partial "header.html" . }}

<div class="post p2 p-responsive wrap" role="main">
<div class="measure">
<div class="home">
<div class="posts">
{{ range first 5 .Data.Pages }}
{{ if eq .Type "post" }}
{{ .Render "summary"}}
{{ end }}
{{ end }}
</div>
</div>
</div>
</div>
</div>
{{ partial "footer.html" . }}
16 changes: 16 additions & 0 deletions layouts/page/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{ partial "head.html" . }}
<div class="site-wrap">
{{ partial "header.html" . }}
<div class="post p2 p-responsive wrap" role="main">
<div class="measure">
<div class="post-header mb2">
<h1 class="py2">{{ .Title }}</h1>
</div>

<article class="post-content">
{{ .Content }}
</article>
</div>
</div>
</div>
{{ partial "footer.html" . }}
1 change: 1 addition & 0 deletions layouts/partials/comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>Comments!</p>
14 changes: 14 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<footer class="footer">
<div class="p2 wrap">
<div class="measure mt1 center">
{{ partial "social_links.html" . }}
<small>
Copyright &#169; 2014<br>
Powered by <a href="http://gohugo.io/" target="_blank">Hugo</a> &amp; <a href="" target="_blank">Pixyll</a>
</small>
</div>
</div>
</footer>

</body>
</html>
23 changes: 23 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ .Site.Title }} | {{ .Title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="keywords" content="">
<link rel="canonical" href="{{ .Permalink }}">


<!-- Custom CSS -->
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseUrl }}/css/basscss.css">
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseUrl }}/css/main.css">
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseUrl }}/css/solarized-dark.css">

<!-- Fonts -->
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Merriweather:900,900italic,300,300italic'>
<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Lato:900,300'>
</head>
<body class="">
11 changes: 11 additions & 0 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<header class="site-header px2 px-responsive">
<div class="mt2 wrap">
<div class="measure">
<a href="{{ .Site.BaseUrl }}" class="site-title">{{ .Site.Title }}</a>
<nav class="site-nav right">
{{ partial "navigation.html" . }}
</nav>
<div class="clearfix"></div>
</div>
</div>
</header>
2 changes: 2 additions & 0 deletions layouts/partials/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<a href="/about/">About</a>
<a href="/contact/">Contact</a>
20 changes: 20 additions & 0 deletions layouts/partials/pagination.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<div class="pagination clearfix mb1 mt4">
<div class="left">
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item" href="{{ site.baseurl }}/">Newer</a>
{% else %}
<a class="pagination-item" href="{{ site.baseurl }}/page{{paginator.previous_page}}/">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item disabled">Newer</span>
{% endif %}
</div>
<div class="right">
{% if paginator.next_page %}
<a class="pagination-item" href="{{ site.baseurl }}/page{{paginator.next_page}}/">Older</a>
{% else %}
<span class="pagination-item disabled">Older</span>
{% endif %}
</div>
</div>
2 changes: 2 additions & 0 deletions layouts/partials/script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<script>
</script>
4 changes: 4 additions & 0 deletions layouts/partials/social_links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<nav class="social-icons icons">
<a class="fa fa-rss rss" href="/feed.xml"></a>
<a class="fa fa-twitter twitter" href="https://twitter.com/{{ .Params.github }}"></a>
</nav>
19 changes: 19 additions & 0 deletions layouts/post/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{ partial "head.html" . }}
<div class="site-wrap">
{{ partial "header.html" . }}
<div class="post p2 p-responsive wrap" role="main">
<div class="measure">
<div class="post-header mb2">
<h1 class="py2">{{ .Title }}</h1>
<span class="post-meta">{{ .Date.Format "Jan 2, 2006" }}</span><br>
</div>

<article class="post-content">
{{ .Content }}
</article>

{{ partial "comments.html" . }}
</div>
</div>
</div>
{{ partial "footer.html" . }}
9 changes: 9 additions & 0 deletions layouts/post/summary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="post">
<a class="post-link" href="{{ .Permalink }}">
<p class="post-meta left">{{ .Date.Format "Jan 2, 2006" }}</p>
<p class="post-author right">Written by {{ .Data.author }}</p>
<div class="clearfix"></div>
<h3 class="h2 post-title">{{ .Title }} {{ if .Draft }}(draft){{end}}</h3>
<p class="post-summary">{{ .Summary }}</p>
</a>
</div>
22 changes: 22 additions & 0 deletions layouts/rss.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ .Title }} on {{ .Site.Title }} </title>
<generator uri="https://gohugo.io">Hugo</generator>
<link>{{ .Permalink }}</link>
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
{{ with .Site.Author.name }}<author>{{.}}</author>{{end}}
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</updated>
{{ range first 15 .Data.Pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
{{with .Site.Author.name}}<author>{{.}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
{{ end }}
</channel>
</rss>

Empty file added layouts/shortcodes/img.html
Empty file.
Empty file added layouts/shortcodes/youtube.html
Empty file.
Empty file added layouts/sitemap.xml
Empty file.
Loading

0 comments on commit dc8ba13

Please sign in to comment.