Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigYaml = `site:
author:
domain:
language:
github:
`
View Source
const Css = `` /* 4696-byte string literal not displayed */
View Source
const IndexEn = `` /* 1852-byte string literal not displayed */
View Source
const IndexFa = `` /* 1921-byte string literal not displayed */
View Source
const Js = `` /* 46611-byte string literal not displayed */
View Source
const PostEn = `` /* 1847-byte string literal not displayed */
View Source
const PostFa = `` /* 1829-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetCurrentDir ¶
func GetCurrentDir() string
func SortBlogPostByYear ¶
SortBlogPostByYear sort blog posts
Types ¶
type IndexPage ¶
type IndexPage struct { Title string // title of owner of blog ( like : soroush safari ) BlogPost []map[string][]Post // all posts }
IndexPage : we use this struct to ship data into index.html
Source Files ¶
Click to show internal directories.
Click to hide internal directories.