Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated front page (hero+1st post), added ads to posts
- Loading branch information
Showing
7 changed files
with
47 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
<script type="text/javascript"><!-- | |||
google_ad_client = "ca-pub-6853046748807872"; | |||
/* 160x600 */ | |||
google_ad_slot = "7763453227"; | |||
google_ad_width = 160; | |||
google_ad_height = 600; | |||
//--> | |||
</script> | |||
<script type="text/javascript" | |||
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> | |||
</script> | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,45 +1,30 @@ | |||
--- | --- | ||
layout: page | layout: page | ||
title: Hello World! | |||
--- | --- | ||
{% include JB/setup %} | {% include JB/setup %} | ||
|
|
||
Read [Jekyll Quick Start](http://jekyllbootstrap.com/usage/jekyll-quick-start.html) | <div class="hero-unit"> | ||
|
<div class="row"> | ||
Complete usage and documentation available at: [Jekyll Bootstrap](http://jekyllbootstrap.com) | <div class="span8"> | ||
|
<p>This is a website for the Pro Python System Administration book, written by Rytis Sileika and published by <a href="http://www.apress.com/">Apress</a>. Some of the projects described in the book are avialable on <a href="https://www.github.com/rytis/">GitHub</a>.</p> | ||
## Update Author Attributes | <p><a href="http://www.amazon.com/gp/product/1430226056?ie=UTF8&tag=sysadminpy-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430226056" class="btn btn-primary btn-large">Buy from Amazon (US) »</a> <a href="http://www.amazon.co.uk/gp/product/1430226056?ie=UTF8&tag=sysadminpy-21&linkCode=as2&camp=1634&creative=19450&creativeASIN=1430226056" class="btn btn-primary btn-large">Buy from Amazon (UK) »</a></p> | ||
|
</div> | ||
In `_config.yml` remember to specify your own data: | <div class="span2"> | ||
|
<p><img src="/assets/images/book-cover.png" width="150"></p> | ||
title : My Blog =) | <p><script type="text/javascript" src="http://books.google.com/books/previewlib.js"></script> | ||
|
<script type="text/javascript"> | ||
author : | GBS_insertPreviewButtonPopup('ISBN:1-4302-2605-6'); | ||
name : Name Lastname | </script> | ||
email : blah@email.test | </p> | ||
github : username | </div> | ||
twitter : username | </div> | ||
|
</div> | ||
The theme should reference these variables whenever needed. |
|
||
|
## Latest blog post | ||
## Sample Posts |
|
||
|
{% assign latest_post = site.posts.first %} | ||
This blog contains sample posts which help stage pages and blog data. |
|
||
When you don't need the samples anymore just delete the `_posts/core-samples` folder. | ### <a href="{{ BASE_PATH }}{{ latest_post.url }}">{{ latest_post.title }}</a> | ||
|
<h6>{{ latest_post.date | date_to_string }}</h6> | ||
$ rm -rf _posts/core-samples |
|
||
|
{{ latest_post.content }} | ||
Here's a sample "posts list". | |||
|
|||
<ul class="posts"> | |||
{% for post in site.posts %} | |||
<li><span>{{ post.date | date_to_string }}</span> » <a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></li> | |||
{% endfor %} | |||
</ul> | |||
|
|||
## To-Do | |||
|
|||
This theme is still unfinished. If you'd like to be added as a contributor, [please fork](http://github.com/plusjade/jekyll-bootstrap)! | |||
We need to clean up the themes, make theme usage guides with theme-specific markup examples. | |||
|
|||
|