Updated documentation
This commit is contained in:
parent
3097117dea
commit
ad4a8f2887
3 changed files with 20 additions and 2 deletions
|
|
@ -6,6 +6,8 @@ category: tech
|
|||
tags: [ 'tutorial' ]
|
||||
---
|
||||
|
||||
### Creating a new post
|
||||
|
||||
Run the ./scripts/newpost script with the file name of the post as an argument:
|
||||
|
||||
<pre style="text-align: left">
|
||||
|
|
@ -35,6 +37,12 @@ tags: [ 'tag1', 'tag2' ]
|
|||
|
||||
The *layout* and *section-type* are used by the theme.
|
||||
|
||||
### Post navigation
|
||||
|
||||
You can navigate between the posts by swiping left/right in the post pages!
|
||||
|
||||
### Hashtags
|
||||
|
||||
Note: *{ Personal }* generates a static page, just like all Jekyll themes.
|
||||
As a result we have to create the tag pages before building and publishing the site.
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ tags: [ 'tutorial' ]
|
|||
|
||||
A website is truly personal if it's your blog as well, this place of the internet where you can place your thoughts about anything!
|
||||
|
||||
### Latest post preview in Index page
|
||||
|
||||
First of all, you get a preview of the latest post in the index, in order to attract the visitor to visit your blog. The size of this preview is defined by:
|
||||
|
||||
<pre style="text-align: left">
|
||||
|
|
@ -16,6 +18,8 @@ post-preview-words: 96
|
|||
|
||||
Feel free to experiment with different sizes, and pick the best for you.
|
||||
|
||||
### Archive
|
||||
|
||||
A blog is expected to host many posts, so you will need an archive with pagination,
|
||||
which in a nutshell it's a grouping of your posts in pages, in reverse chronological
|
||||
order. You can define the number of posts that are displayed per page by changing:
|
||||
|
|
@ -24,6 +28,10 @@ order. You can define the number of posts that are displayed per page by changin
|
|||
paginate: 5
|
||||
</pre>
|
||||
|
||||
Note that you can navigate the pages of the Archive by swiping left/right!
|
||||
|
||||
### Share buttons
|
||||
|
||||
Facebook, Twitter, Reddit, LinkedIn, Google+, Pinterest, VKontakte share buttons are available which can be enabled or disabled by setting the following:
|
||||
|
||||
<pre style="text-align: left">
|
||||
|
|
@ -36,8 +44,10 @@ pinterest-share: True
|
|||
vkontakte-share: True
|
||||
</pre>
|
||||
|
||||
### Comments
|
||||
|
||||
And you can enable <a href="http://www.disqus.com" target="blank">Disqus</a> comments by just setting your Disqus username here:
|
||||
|
||||
<pre style="text-align: left">
|
||||
disqus-shortname: "<YOUR DISQUS USERNAME>"
|
||||
disqus-shortname: "YOUR DISQUS USERNAME"
|
||||
</pre>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: post
|
||||
section-type: post
|
||||
title: Modifying the Intro
|
||||
title: Modifying the Header
|
||||
category: tech
|
||||
tags: [ 'tutorial' ]
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue