This post aims to guide the user how to write news posted.
Tags
We have the following tags for each post:
- layout: currently there is only one choice “post”;
- title: One can specify a title for each post. If no title is needed, just do not use this tag. This is the common case for “Publication news”.
- shortnews: if set “true”, then this post will be viewed as a short news, and thus all of its content will be displayed in the “HOME” page. If there is no this tag, only the first paragraph will be displayed in the “HOME” page.
- icon: for different types of posts, we can use different small icons. Commonly used choices are: “newspaper-o” and “star-o”. You can choose a desired one in Font Awesome Web Application Icons .
Posts with images
If you want to use an image to represent the post (which will appear on the rightmost of the title), you have to specify the following tags:
- image: an url to online image or local uploaded image
- image_style: the style of the image, say “max-height: 100px;”
- image_link: when clicking the image, the user will jump to this given link.