Add 'about this site'

This commit is contained in:
Rico Sta. Cruz 2015-03-11 19:06:44 +08:00
parent a840e46884
commit f700af2fcc
3 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,20 @@
<div class="about-the-site">
<div class="container">
<p class='blurb'>
<strong><a href="{{ site.url }}">Cheatsheets</a></strong> is a collection of cheatsheets I've written over the years.
Suggestions and corrections? <a href='https://github.com/rstacruz/cheatsheets/issues'>Send them in</a>.
<i class='fleuron'></i>
I'm <a href="http://ricostacruz.com">Rico Sta. Cruz</a>.
Check out my <a href="http://ricostacruz.com/til">Today I learned blog</a> for more.
</p>
{% if page.url != '/index.html' %}
<p class='back'>
<a class='big-button -back -slim' href='.#toc'></a>
</p>
{% endif %}
<p>
</p>
</div>
</div>

View File

@ -1,6 +1,4 @@
{% if page.jekyll_escape %}
<script>var JekyllEscape=true;</script>
{% endif %}
{% include about-the-site.html %}
<script src="assets/highlight.min.js"></script>
<script src="assets/script.js"></script>
<script>

View File

@ -41,3 +41,11 @@
background: #ddd;
margin: 2.5em auto 1.8em auto;
}
.about-the-site {
margin-top: 8em;
}
.about-the-site .back {
margin-right: 0;
}