-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
83 changed files
with
3,256 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
infoseciitr.in |
19 changes: 19 additions & 0 deletions
19
themes/hexo-theme-flexblock/.github/workflows/npm-publish.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: npm publish | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12.x | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm install | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
*/.DS_Store | ||
Thumbs.db | ||
db.json | ||
*.log | ||
node_modules/ | ||
public/ | ||
.deploy*/ | ||
themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// 代码规范配置文件 | ||
module.exports = { | ||
// 不使用 Tab 缩进 | ||
useTabs: false, | ||
// 缩进 2 个空格 | ||
tabWidth: 2, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 Sola | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# hexo-theme-flexblock | ||
|
||
![master version](https://img.shields.io/github/package-json/v/miiiku/hexo-theme-flexblock/master?label=master&color=bf00ff) | ||
![npm version](https://img.shields.io/npm/v/hexo-theme-flexblock?color=bc3433) | ||
![hexo version](https://img.shields.io/badge/hexo-5.0.0+-0e83cd) | ||
![license](https://img.shields.io/github/license/miiiku/hexo-theme-flexblock?color=1ab1ad) | ||
|
||
一个卡片类拟态风格的Hexo主题 | ||
|
||
![flex-block--home](./screenshots/flex-block--home.jpeg) | ||
|
||
![flex-block--post](./screenshots/flex-block--post.jpeg) | ||
|
||
### v2.0已发布,重构部分代码。如需要查看v1.0的代码请访问:[v1.0](https://github.com/miiiku/hexo-theme-flexblock/tree/v1.0) | ||
|
||
## Example Site | ||
|
||
**[DEMO](https://kiyori.xyz)** | ||
|
||
## Document | ||
|
||
Change description: [flex-block改动说明](https://kyori.xyz/2021/07/080920.html) | ||
|
||
doc list: [docs](https://kyori.xyz/categories/doc/) | ||
|
||
- [_config.yml配置](https://kyori.xyz/2021/07/081144.html) | ||
|
||
- [front-matter配置](https://kyori.xyz/2021/07/081100.html) | ||
|
||
- [插入图片,音频和视频](https://kyori.xyz/2021/07/081010.html) | ||
|
||
### 安装主题 | ||
|
||
#### 通过 GIT 安装 | ||
|
||
从 GitHub 下载主题并将其添加到你的 Hexo 项目目录的 `themes` 目录下 | ||
|
||
```shell | ||
# 通过 git clone 命令将主题下载到 theme 目录 | ||
git clone https://github.com/miiiku/hexo-theme-flexblock.git ./themes/flexblock | ||
``` | ||
|
||
> 如果你不是 `git` 用户,也可以从[https://github.com/miiiku/hexo-theme-flexblock/archive/refs/heads/master.zip](https://github.com/miiiku/hexo-theme-flexblock/archive/refs/heads/master.zip)下载主题的压缩包,然后解压到你的 Hexo 项目目录的 `theme` 目录下,并重命名 `hexo-theme-flexblock-master` 为 `flexblock` 。 | ||
进入 `./themes/flexblock` 编辑 `_config.yml` 以配置你的站点信息 | ||
|
||
#### 通过 NPM 安装 | ||
|
||
> 此方法只支持 Hexo 5.0.0 以上版本 | ||
```shell | ||
# 通过 npm 将主题的 package 安装到你的 Hexo 项目中 | ||
npm install hexo-theme-flexblock | ||
# # 如果使用 yarn,则执行以下命令 | ||
# yarn add hexo-theme-flexblock | ||
``` | ||
|
||
在你的 Hexo 项目目录下新建 `_config.flexblock.yml`,然后把 [主题配置文件的内容](https://github.com/miiiku/hexo-theme-flexblock/blob/master/_config.yml) 粘贴到文件里面,再配置你的站点信息 | ||
|
||
### 应用主题 | ||
|
||
编辑你的 Hexo 项目目录下的 `_config.yml` 文件,找到**theme**并设置值为 `flexblock` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Header | ||
menu: | ||
Home: / | ||
Resources: /resources | ||
Achievements: /achievements | ||
About: /about | ||
Blogs: /tags | ||
|
||
banner: /images/sejong.jpg | ||
|
||
author: | ||
name: InfoSecIITR | ||
avatar: /favicon.png | ||
description: The CTF team from IIT Roorkee | ||
|
||
toc: | ||
max_depth: 3 | ||
min_depth: 2 | ||
|
||
comments: | ||
enable: false | ||
use: 'valine' # valine || disqus | ||
valine: | ||
appId: | ||
appKey: | ||
placeholder: Say whatever you want | ||
avatar: mp | ||
pageSize: 10 | ||
lang: zh-en | ||
visitor: true | ||
recordIP: true | ||
enableQQ: false | ||
meta: "['nick', 'mail', 'link']" | ||
requiredFields: "['nick']" | ||
bilibiliEmoji: true | ||
# disqus | ||
# docs: https://disqus.com/ | ||
disqus: | ||
website: | ||
error: If you can't see the comments, you really can't see the comments | ||
|
||
dplayer: | ||
enable: true | ||
theme: "#b7daff" | ||
autoplay: false | ||
loop: false | ||
mutex: true | ||
|
||
aplayer: | ||
enable: true | ||
theme: "#b7daff" | ||
autoplay: false | ||
loop: false | ||
mutex: true | ||
lrcType: 3 | ||
|
||
mathjax: | ||
enable: true | ||
|
||
polyfill: | ||
enable: false | ||
|
||
|
||
beian: | ||
|
||
google_analytics: | ||
gauges_analytics: | ||
favicon: /favicon.png | ||
|
||
|
||
# Social Icon | ||
social_icon: | ||
enable: true | ||
icons: | ||
github : https://github.com/InfoSecIITR/ | ||
twitter : https://twitter.com/infoseciitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Kategorien | ||
search: Suche | ||
tags: Tags | ||
tagcloud: Tag Cloud | ||
tweets: Tweets | ||
prev: zurück | ||
next: weiter | ||
comment: Kommentare | ||
archive_a: Archiv | ||
archive_b: "Archive: %s" | ||
page: Seite %d | ||
recent_posts: letzter Beitrag | ||
newer: Neuer | ||
older: Älter | ||
share: Teilen | ||
powered_by: Powered by | ||
rss_feed: RSS Feed | ||
category: Kategorie | ||
tag: Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Categories | ||
search: Search | ||
tags: Tags | ||
tagcloud: Tag Cloud | ||
tweets: Tweets | ||
prev: Prev | ||
next: Next | ||
comment: Comments | ||
archive_a: Archives | ||
archive_b: "Archives: %s" | ||
page: Page %d | ||
recent_posts: Recent Posts | ||
newer: Newer | ||
older: Older | ||
share: Share | ||
powered_by: Powered by | ||
rss_feed: RSS Feed | ||
category: Category | ||
tag: Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Categorías | ||
search: Buscar | ||
tags: Tags | ||
tagcloud: Nube de Tags | ||
tweets: Tweets | ||
prev: Previo | ||
next: Siguiente | ||
comment: Comentarios | ||
archive_a: Archivos | ||
archive_b: "Archivos: %s" | ||
page: Página %d | ||
recent_posts: Posts recientes | ||
newer: Nuevo | ||
older: Viejo | ||
share: Compartir | ||
powered_by: Construido por | ||
rss_feed: RSS | ||
category: Categoría | ||
tag: Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Catégories | ||
search: Rechercher | ||
tags: Mot-clés | ||
tagcloud: Nuage de mot-clés | ||
tweets: Tweets | ||
prev: Précédent | ||
next: Suivant | ||
comment: Commentaires | ||
archive_a: Archives | ||
archive_b: "Archives: %s" | ||
page: Page %d | ||
recent_posts: Articles récents | ||
newer: Récent | ||
older: Ancien | ||
share: Partager | ||
powered_by: Propulsé par | ||
rss_feed: Flux RSS | ||
category: Catégorie | ||
tag: Mot-clé |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: カテゴリ | ||
search: 検索 | ||
tags: タグ | ||
tagcloud: タグクラウド | ||
tweets: ツイート | ||
prev: 戻る | ||
next: 次へ | ||
comment: コメント | ||
archive_a: アーカイブ | ||
archive_b: "アーカイブ: %s" | ||
page: ページ %d | ||
recent_posts: 最近の投稿 | ||
newer: 次の記事 | ||
older: 前の記事 | ||
share: 共有 | ||
powered_by: Powered by | ||
rss_feed: RSSフィード | ||
category: カテゴリ | ||
tag: タグ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: 카테고리 | ||
search: 검색 | ||
tags: 태그 | ||
tagcloud: 태그 클라우드 | ||
tweets: 트윗 | ||
prev: 이전 | ||
next: 다음 | ||
comment: 댓글 | ||
archive_a: 아카이브 | ||
archive_b: "아카이브: %s" | ||
page: 페이지 %d | ||
recent_posts: 최근 포스트 | ||
newer: 최신 | ||
older: 이전 | ||
share: 공유 | ||
powered_by: Powered by | ||
rss_feed: RSS Feed | ||
category: 카테고리 | ||
tag: 태그 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
categories: Categorieën | ||
search: Zoeken | ||
tags: Labels | ||
tagcloud: Tag Cloud | ||
tweets: Tweets | ||
prev: Vorige | ||
next: Volgende | ||
comment: Commentaren | ||
archive_a: Archieven | ||
archive_b: "Archieven: %s" | ||
page: Pagina %d | ||
recent_posts: Recente berichten | ||
newer: Nieuwer | ||
older: Ouder | ||
share: Delen | ||
powered_by: Powered by | ||
rss_feed: RSS Feed | ||
category: Categorie | ||
tag: Label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Kategorier | ||
search: Søk | ||
tags: Tags | ||
tagcloud: Tag Cloud | ||
tweets: Tweets | ||
prev: Forrige | ||
next: Neste | ||
comment: Kommentarer | ||
archive_a: Arkiv | ||
archive_b: "Arkiv: %s" | ||
page: Side %d | ||
recent_posts: Siste innlegg | ||
newer: Newer | ||
older: Older | ||
share: Share | ||
powered_by: Powered by | ||
rss_feed: RSS Feed | ||
category: Category | ||
tag: Tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
categories: Categorias | ||
search: Buscar | ||
tags: Tags | ||
tagcloud: Nuvem de Tags | ||
tweets: Tweets | ||
prev: Anterior | ||
next: Próximo | ||
comment: Comentários | ||
archive_a: Arquivos | ||
archive_b: "Arquivos: %s" | ||
page: Página %d | ||
recent_posts: Postagens Recentes | ||
newer: Mais Recente | ||
older: Mais Antigo | ||
share: Compartilhar | ||
powered_by: Desenvolvido por | ||
rss_feed: Feed RSS | ||
category: Categoria | ||
tag: Tag |
Oops, something went wrong.