diff options
author | John Siu (imacpro) <john.sd.siu@gmail.com> | 2020-07-01 10:08:44 +0300 |
---|---|---|
committer | John Siu (imacpro) <john.sd.siu@gmail.com> | 2020-07-01 10:08:44 +0300 |
commit | 7c34680e9a321359958e5404778816e47bf29979 (patch) | |
tree | c1a1735d0f73eb7e2fded9d3d5314c5ad5dc3dea | |
parent | 7e659d98f5969f113148b08a94b6b7fa7182a9a2 (diff) |
README.md - 0.8.80.8.8
-rw-r--r-- | README.md | 94 |
1 files changed, 72 insertions, 22 deletions
@@ -2,7 +2,32 @@ Fully functional basic Hugo theme build on top of [hugo-theme-sk2](https://github.com/J-Siu/hugo-theme-sk2). -### Demo +--- + +<!-- TOC --> + +- [Demo Site](#demo-site) +- [Install](#install) +- [Testing](#testing) +- [Features](#features) +- [Layout](#layout) + - [Site](#site) + - [Color theme](#color-theme) + - [Card/List](#cardlist) + - [Per Page](#per-page) + - [Google AdSense](#google-adsense) + - [Twitter Cards / Opengraph](#twitter-cards--opengraph) +- [config.sk3.toml](#configsk3toml) +- [Front Matter](#front-matter) +- [TODO](#todo) +- [Repository](#repository) +- [Contributors](#contributors) +- [Change Log](#change-log) +- [License](#license) + +<!-- /TOC --> + +### Demo Site SK3 demo site: https://sk3.jsiu.dev/ @@ -10,21 +35,25 @@ Example site content from [hugoBasicExample](https://github.com/gohugoio/hugoBas ### Install -- Using clone +In site directory: - In site directory: +- Using clone - ```sh - git clone https://github.com/J-Siu/hugo-theme-sk3 theme/sk3 - ``` + ```sh + git clone https://github.com/J-Siu/hugo-theme-sk3 theme/sk3 + ``` - Using submodule - In site directory: + ```sh + git submodule add https://github.com/J-Siu/hugo-theme-sk3 theme/sk3 + ``` + +- Update submodule - ```sh - git submodule add https://github.com/J-Siu/hugo-theme-sk3 theme/sk3 - ``` + ```sh + git submodule update --recursive --remote + ``` ### Testing @@ -48,11 +77,15 @@ hugo server -D --bind :: \ ### Features -- Collapsible table of content -- Git modify date -- Google analytics -- Menu sidebar -- Mobile ready +- Blog +- Disqus +- Google Adsense +- Google Analytics +- Layout Customization +- Minimalist Design +- Responsive +- Social Links +- Social Share ### Layout @@ -60,7 +93,7 @@ hugo server -D --bind :: \ - Main type - Control `type` used to generate homepage list. Hugo default `post`. + Page `type` for generating homepage list. Hugo default `post`. ```toml [Params] @@ -145,6 +178,16 @@ hugo server -D --bind :: \ text = "white" ``` + Following is a light theme + + ```toml + [Params.color] + bg = "white" + border = "black" + link = "#3d84ff" + text = "black" + ``` + #### Card/List - Width (default:32% on computer screen) @@ -190,8 +233,8 @@ Use following to enable Twitter Cards / Opengraph: [Params] opengraph = true twitercards = true -description = "Site description" -title = "Site title" +description = "site description" +title = "site title" ``` ### config.sk3.toml @@ -259,9 +302,9 @@ paginate = 15 vk = true [markup] - [markup.tableOfContents] - endLevel = 6 - startLevel = 1 + [markup.tableOfContents] + endLevel = 6 + startLevel = 1 ``` ### Front Matter @@ -281,6 +324,8 @@ toc = false - Author - others? - Include social buttons +- Submit to Hugo theme + - images ### Repository @@ -308,6 +353,11 @@ toc = false - Default page width 1200px - Default card width 32% - Fixed menu bar top and left "leaking" +- 0.8.8 + - CSS clean up + - Improve header + - Improve README.md + - Fix margin/padding ### License @@ -319,4 +369,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file |