Customized pages

This commit is contained in:
tom5079
2019-05-12 00:52:09 +09:00
parent 9b138cd0c4
commit c4c7be3dec
5 changed files with 6 additions and 37 deletions

View File

@@ -1,13 +1,13 @@
# Setup
title: Project or Site name
tagline: A responsive theme for your project on GitHub Pages
title: Pupil
tagline: Hitomi.la viewer for Android
baseurl: "/Pupil"
paginate: 1
locale: "en"
# About/contact
author:
name: Author name
name: tom5079
url: http://yourhomepage.com
# Gems

View File

@@ -1,4 +1,4 @@
<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>
</footer>

View File

@@ -1,7 +1,6 @@
<section class="page-header">
<h1 class="project-name">{{ site.title }}</h1>
<h2 class="project-tagline">{{ site.tagline }}</h2>
<a href="#" class="btn">View on GitHub</a>
<a href="#" class="btn">Download .zip</a>
<a href="#" class="btn">Download .tar.gz</a>
<a href="#" class="btn">Download app</a>
<a href="#" class="btn">Having a problem?</a>
</section>

View File

@@ -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

View File

@@ -4,10 +4,4 @@ title: {{ site.name }}
---
<div id="home">
<h1>Blog Posts</h1>
<ul class="posts">
{% for post in site.posts %}
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>