update the theme

This commit is contained in:
Christoph Cullmann 2021-12-17 21:11:47 +01:00
parent 0f19f2e8eb
commit fa0436a210
8 changed files with 2604 additions and 6857 deletions

View file

@ -1,2 +1,11 @@
# cullmann.io # cullmann.io
cullmann.io website cullmann.io website
# Update theme
rm -rf themes    master
mkdir themes    master
git clone https://github.com/sunt-programator/CodeIT.git themes/CodeIT
rm -rf themes/CodeIT/.git
git add themes

View file

@ -419,6 +419,43 @@
"code", "code",
"bug" "bug"
] ]
},
{
"login": "aozaki-kuro",
"name": "Aozaki",
"avatar_url": "https://avatars.githubusercontent.com/u/28428951?v=4",
"profile": "https://github.com/aozaki-kuro",
"contributions": [
"bug",
"code"
]
},
{
"login": "deining",
"name": "Andreas Deininger",
"avatar_url": "https://avatars.githubusercontent.com/u/18169566?v=4",
"profile": "https://github.com/deining",
"contributions": [
"doc"
]
},
{
"login": "Ashpex",
"name": "Ashpex",
"avatar_url": "https://avatars.githubusercontent.com/u/38400042?v=4",
"profile": "http://ashpex.eu.org",
"contributions": [
"code"
]
},
{
"login": "KHannibal",
"name": "KHannibal",
"avatar_url": "https://avatars.githubusercontent.com/u/3843004?v=4",
"profile": "https://github.com/KHannibal",
"contributions": [
"ideas"
]
} }
], ],
"contributorsPerLine": 7, "contributorsPerLine": 7,

View file

@ -5,14 +5,14 @@
[![License](https://img.shields.io/github/license/sunt-programator/CodeIT)](https://github.com/sunt-programator/CodeIT/blob/master/LICENSE) [![License](https://img.shields.io/github/license/sunt-programator/CodeIT)](https://github.com/sunt-programator/CodeIT/blob/master/LICENSE)
[![CodeQL](https://github.com/sunt-programator/CodeIT/workflows/CodeQL/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3ACodeQL) [![CodeQL](https://github.com/sunt-programator/CodeIT/workflows/CodeQL/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3ACodeQL)
[![Deploy status](https://github.com/sunt-programator/CodeIT/workflows/Deploy%20status/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3A%22Deploy+status%22) [![Deploy status](https://github.com/sunt-programator/CodeIT/workflows/Deploy%20status/badge.svg)](https://github.com/sunt-programator/CodeIT/actions?query=workflow%3A%22Deploy+status%22)
![Github All Contributors](https://img.shields.io/github/all-contributors/sunt-programator/CodeIT) ![GitHub All Contributors](https://img.shields.io/github/all-contributors/sunt-programator/CodeIT)
> **CodeIT** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/). > **CodeIT** is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/).
It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt), and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt). It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt), and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).
Since the three themes have a similar look, if you have questions about their differences, Since the three themes have a similar look, if you have questions about their differences,
read [Why to choose CodeIT](#why-choose-CodeIT) so that you can choose the one that works best for you. read [Why to choose CodeIT](#question-why-choose-CodeIT) so that you can choose the one that works best for you.
![Hugo Theme CodeIT](https://github.com/sunt-programator/CodeIT/raw/master/images/Apple-Devices-Preview.png) ![Hugo Theme CodeIT](https://github.com/sunt-programator/CodeIT/raw/master/images/Apple-Devices-Preview.png)
@ -284,6 +284,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<tr> <tr>
<td align="center"><a href="https://github.com/OnlyFor"><img src="https://avatars.githubusercontent.com/u/16849187?v=4?s=100" width="100px;" alt=""/><br /><sub><b>OnlyFor</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=OnlyFor" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/commits?author=OnlyFor" title="Documentation">📖</a></td> <td align="center"><a href="https://github.com/OnlyFor"><img src="https://avatars.githubusercontent.com/u/16849187?v=4?s=100" width="100px;" alt=""/><br /><sub><b>OnlyFor</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=OnlyFor" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/commits?author=OnlyFor" title="Documentation">📖</a></td>
<td align="center"><a href="https://tbm98.dev"><img src="https://avatars.githubusercontent.com/u/52562340?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Minh Tran</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=tbm98" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Atbm98" title="Bug reports">🐛</a></td> <td align="center"><a href="https://tbm98.dev"><img src="https://avatars.githubusercontent.com/u/52562340?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Minh Tran</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=tbm98" title="Code">💻</a> <a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Atbm98" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://github.com/aozaki-kuro"><img src="https://avatars.githubusercontent.com/u/28428951?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aozaki</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/issues?q=author%3Aaozaki-kuro" title="Bug reports">🐛</a> <a href="https://github.com/sunt-programator/CodeIT/commits?author=aozaki-kuro" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/deining"><img src="https://avatars.githubusercontent.com/u/18169566?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andreas Deininger</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=deining" title="Documentation">📖</a></td>
<td align="center"><a href="http://ashpex.eu.org"><img src="https://avatars.githubusercontent.com/u/38400042?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ashpex</b></sub></a><br /><a href="https://github.com/sunt-programator/CodeIT/commits?author=Ashpex" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/KHannibal"><img src="https://avatars.githubusercontent.com/u/3843004?v=4?s=100" width="100px;" alt=""/><br /><sub><b>KHannibal</b></sub></a><br /><a href="#ideas-KHannibal" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr> </tr>
</table> </table>

View file

@ -24,7 +24,7 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c
{{< admonition >}} {{< admonition >}}
This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown). This article is a shameful copy of the great [Grav original page](http://learn.getgrav.org/content/markdown).
If you want to know about the extented Markdown syntax of **CodeIT** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax). If you want to know about the extended Markdown syntax of **CodeIT** theme, please read [extended Markdown syntax page](../theme-documentation-content#extended-markdown-syntax).
{{< /admonition >}} {{< /admonition >}}
Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages. Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages.

View file

@ -132,13 +132,13 @@ seo:
- **title**: the title for the content. - **title**: the title for the content.
- **subtitle**: the subtitle for the content. - **subtitle**: the subtitle for the content.
- **date**: the datetime assigned to this page, which is usually fetched from the `date` field in front matter, but this behaviour is configurabl in the [site configuration](../theme-documentation-basics#site-configuration). - **date**: the datetime assigned to this page, which is usually fetched from the `date` field in front matter, but this behaviour is configurable in the [site configuration](../theme-documentation-basics#site-configuration).
- **lastmod**: the datetime at which the content was last modified. - **lastmod**: the datetime at which the content was last modified.
- **draft**: if `true`, the content will not be rendered unless the `--buildDrafts`/`-D` flag is passed to the `hugo` command. - **draft**: if `true`, the content will not be rendered unless the `--buildDrafts`/`-D` flag is passed to the `hugo` command.
- **author**: the author for the content. - **author**: the author for the content.
- **authorLink**: the link of the author. - **authorLink**: the link of the author.
- **description**: the description for the content. - **description**: the description for the content.
- **license**: the special lisence for this content. - **license**: the special license for this content.
- **images**: page images for Open Graph and Twitter Cards. - **images**: page images for Open Graph and Twitter Cards.
- **tags**: the tags for the content. - **tags**: the tags for the content.
@ -153,7 +153,7 @@ seo:
- **ruby**: if `true`, the content will enable the [ruby extended syntax](#ruby). - **ruby**: if `true`, the content will enable the [ruby extended syntax](#ruby).
- **fraction**: if `true`, the content will enable the [fraction extended syntax](#fraction). - **fraction**: if `true`, the content will enable the [fraction extended syntax](#fraction).
- **fontawesome**: if `true`, the content will enable the [Font Awesome extended syntax](#fontawesome). - **fontawesome**: if `true`, the content will enable the [Font Awesome extended syntax](#fontawesome).
- **linkToMarkdown**: if `true`, the footer of the content will be shown the link to the orignal Markdown file. - **linkToMarkdown**: if `true`, the footer of the content will be shown the link to the original Markdown file.
- **rssFullText**: if `true`, the full text content will be shown in RSS. - **rssFullText**: if `true`, the full text content will be shown in RSS.
- **toc**: the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics#site-configuration). - **toc**: the same as the `params.page.toc` part in the [site configuration](../theme-documentation-basics#site-configuration).

View file

@ -521,7 +521,7 @@ pie
[ECharts](https://echarts.apache.org/) is a library helping you to generate interactive data visualization. [ECharts](https://echarts.apache.org/) is a library helping you to generate interactive data visualization.
The basic chart types ECharts supports include [line series](https://echarts.apache.org/en/option.html#series-line), [bar series](https://echarts.apache.org/en/option.html#series-line), [scatter series](https://echarts.apache.org/en/option.html#series-scatter), [pie charts](https://echarts.apache.org/en/option.html#series-pie), [candle-stick series](https://echarts.apache.org/en/option.html#series-candlestick), [boxplot series](https://echarts.apache.org/en/option.html#series-boxplot) for statistics, [map series](https://echarts.apache.org/en/option.html#series-map), [heatmap series](https://echarts.apache.org/en/option.html#series-heatmap), [lines series](https://echarts.apache.org/en/option.html#series-lines) for directional information, [graph series](https://echarts.apache.org/en/option.html#series-graph) for relationships, [treemap series](https://echarts.apache.org/en/option.html#series-treemap), [sunburst series](https://echarts.apache.org/en/option.html#series-sunburst), [parallel series](https://echarts.apache.org/en/option.html#series-parallel) for multi-dimensional data, [funnel series](https://echarts.apache.org/en/option.html#series-funnel), [gauge series](https://echarts.apache.org/en/option.html#series-gauge). And it's extremely easy to create a combinition of them with ECharts. The basic chart types ECharts supports include [line series](https://echarts.apache.org/en/option.html#series-line), [bar series](https://echarts.apache.org/en/option.html#series-line), [scatter series](https://echarts.apache.org/en/option.html#series-scatter), [pie charts](https://echarts.apache.org/en/option.html#series-pie), [candle-stick series](https://echarts.apache.org/en/option.html#series-candlestick), [boxplot series](https://echarts.apache.org/en/option.html#series-boxplot) for statistics, [map series](https://echarts.apache.org/en/option.html#series-map), [heatmap series](https://echarts.apache.org/en/option.html#series-heatmap), [lines series](https://echarts.apache.org/en/option.html#series-lines) for directional information, [graph series](https://echarts.apache.org/en/option.html#series-graph) for relationships, [treemap series](https://echarts.apache.org/en/option.html#series-treemap), [sunburst series](https://echarts.apache.org/en/option.html#series-sunburst), [parallel series](https://echarts.apache.org/en/option.html#series-parallel) for multi-dimensional data, [funnel series](https://echarts.apache.org/en/option.html#series-funnel), [gauge series](https://echarts.apache.org/en/option.html#series-gauge). And it's extremely easy to create a combination of them with ECharts.
Just insert your ECharts option in `JSON`/`YAML`/`TOML` format in the `echarts` shortcode and thats it. Just insert your ECharts option in `JSON`/`YAML`/`TOML` format in the `echarts` shortcode and thats it.
@ -913,11 +913,11 @@ The `mapbox` shortcode has the following named parameters to use Mapbox GL JS:
- **lng** _[required]_ (**first** positional parameter) - **lng** _[required]_ (**first** positional parameter)
Longitude of the inital centerpoint of the map, measured in degrees. Longitude of the initial centerpoint of the map, measured in degrees.
- **lat** _[required]_ (**second** positional parameter) - **lat** _[required]_ (**second** positional parameter)
Latitude of the inital centerpoint of the map, measured in degrees. Latitude of the initial centerpoint of the map, measured in degrees.
- **zoom** _[optional]_ (**third** positional parameter) - **zoom** _[optional]_ (**third** positional parameter)
@ -925,7 +925,7 @@ The `mapbox` shortcode has the following named parameters to use Mapbox GL JS:
- **marked** _[optional]_ (**fourth** positional parameter) - **marked** _[optional]_ (**fourth** positional parameter)
Whether to add a marker at the inital centerpoint of the map, default value is `true`. Whether to add a marker at the initial centerpoint of the map, default value is `true`.
- **light-style** _[optional]_ (**fifth** positional parameter) - **light-style** _[optional]_ (**fifth** positional parameter)

File diff suppressed because it is too large Load diff

View file

@ -7,31 +7,31 @@
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.14.8", "@babel/cli": "^7.16.0",
"@babel/core": "^7.14.8", "@babel/core": "^7.16.0",
"@babel/preset-env": "^7.14.8", "@babel/preset-env": "^7.16.4",
"@commitlint/cli": "^13.1.0", "@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^13.1.0", "@commitlint/config-conventional": "^15.0.0",
"all-contributors-cli": "^6.20.0", "all-contributors-cli": "^6.20.0",
"babel-preset-minify": "^0.5.1", "babel-preset-minify": "^0.5.1",
"babelify": "^10.0.0", "babelify": "^10.0.0",
"browserify": "^17.0.0", "browserify": "^17.0.0",
"commitizen": "^4.2.4", "commitizen": "^4.2.4",
"core-js": "^3.16.1", "core-js": "^3.19.3",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0", "eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"husky": "^7.0.1", "husky": "^7.0.4",
"lint-staged": "^11.1.2", "lint-staged": "^12.1.2",
"markdownlint": "^0.23.1", "markdownlint": "^0.24.0",
"minimist": "^1.2.5", "minimist": "^1.2.5",
"prettier": "^2.3.2", "prettier": "^2.5.1",
"segmentit": "^2.0.3", "segmentit": "^2.0.3",
"standard-version": "^9.3.1", "standard-version": "^9.3.2",
"stylelint": "^13.13.1", "stylelint": "^14.1.0",
"stylelint-config-prettier": "^8.0.2", "stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^22.0.0", "stylelint-config-standard": "^24.0.0",
"stylelint-scss": "^3.20.1" "stylelint-scss": "^4.0.0"
}, },
"scripts": { "scripts": {
"babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps", "babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps",