Skip to content

Latest commit

 

History

History
29 lines (13 loc) · 2.22 KB

theming.md

File metadata and controls

29 lines (13 loc) · 2.22 KB

#Theme Development

This article is about developing Phanbook Themes. If you wish to learn more about how to install and use Themes, review checkout here

Why Phanbook Themes

Phanbook Themes are files that work together to create the design and use functionality of a Phanbook site. Each Theme may be different, offering many choices for site owners to instantly change their website look.

How To

You should check directory themes at github, you juts to copy it then rename to your theme

Template Files List

Here is the list of the Theme files recognized by Phanbook. Of course, your Theme can contain any other stylesheets, images, or files. Just keep in mind that the following have special meaning to Phanbook.

layout.volt: The main template. If your Theme provides its own templates, layout.volt must be present. Because we use posts to for the page template. It will list all posts when you at index page

single page We have there view, first view page by question see here view.volt, second we have article page see at viewTip.volt and the signle page hackernew.volt. You can change anything structer html

Author To custom layout user ask question, just to change structer html user-ask.volt similar for user-anser.volt

##Css

Currently we have create a custom.css just to add css into that. Or you can create a directory themes/your-theme then put a css file