Customized pages
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
# Setup
|
# Setup
|
||||||
title: Project or Site name
|
title: Pupil
|
||||||
tagline: A responsive theme for your project on GitHub Pages
|
tagline: Hitomi.la viewer for Android
|
||||||
baseurl: "/Pupil"
|
baseurl: "/Pupil"
|
||||||
paginate: 1
|
paginate: 1
|
||||||
locale: "en"
|
locale: "en"
|
||||||
|
|
||||||
# About/contact
|
# About/contact
|
||||||
author:
|
author:
|
||||||
name: Author name
|
name: tom5079
|
||||||
url: http://yourhomepage.com
|
url: http://yourhomepage.com
|
||||||
|
|
||||||
# Gems
|
# Gems
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="{{ site.url }}">{{ site.title }}</a> is maintained by <a href="{{ site.author.url }}">{{ site.author.name }}</a>.</span>
|
<span class="site-footer-owner">{{ site.title }} is maintained by <a href="{{ site.author.url }}">{{ site.author.name }}</a>.</span>
|
||||||
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
<section class="page-header">
|
<section class="page-header">
|
||||||
<h1 class="project-name">{{ site.title }}</h1>
|
<h1 class="project-name">{{ site.title }}</h1>
|
||||||
<h2 class="project-tagline">{{ site.tagline }}</h2>
|
<h2 class="project-tagline">{{ site.tagline }}</h2>
|
||||||
<a href="#" class="btn">View on GitHub</a>
|
<a href="#" class="btn">Download app</a>
|
||||||
<a href="#" class="btn">Download .zip</a>
|
<a href="#" class="btn">Having a problem?</a>
|
||||||
<a href="#" class="btn">Download .tar.gz</a>
|
|
||||||
</section>
|
</section>
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
layout: default
|
|
||||||
title: "Welcome to Jekyll!"
|
|
||||||
date: 2016-02-12 17:50:00
|
|
||||||
categories: main
|
|
||||||
---
|
|
||||||
|
|
||||||
You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
|
|
||||||
To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
|
|
||||||
|
|
||||||
Jekyll also offers powerful support for code snippets:
|
|
||||||
|
|
||||||
{% highlight ruby %}
|
|
||||||
def print_hi(name)
|
|
||||||
puts "Hi, #{name}"
|
|
||||||
end
|
|
||||||
print_hi('Tom')
|
|
||||||
#=> prints 'Hi, Tom' to STDOUT.
|
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
|
|
||||||
|
|
||||||
[jekyll-gh]: https://github.com/mojombo/jekyll
|
|
||||||
[jekyll]: http://jekyllrb.com
|
|
||||||
@@ -4,10 +4,4 @@ title: {{ site.name }}
|
|||||||
---
|
---
|
||||||
|
|
||||||
<div id="home">
|
<div id="home">
|
||||||
<h1>Blog Posts</h1>
|
|
||||||
<ul class="posts">
|
|
||||||
{% for post in site.posts %}
|
|
||||||
<li><span>{{ post.date | date_to_string }}</span> » <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user