An open API service indexing awesome lists of open source software.

https://github.com/zongren/hexo-theme-nojs

Hexo theme without any javascript codes or files.See:https://zongren.gitlab.io/
https://github.com/zongren/hexo-theme-nojs

hexo hexo-theme hexo-theme-nojs

Last synced: 6 months ago
JSON representation

Hexo theme without any javascript codes or files.See:https://zongren.gitlab.io/

Awesome Lists containing this project

README

          

## NoJS
Hexo theme without any javascript codes or files.

## Add tag page
Execjte `hexo new page tags`,and set layout to `tags`,and uncomment the following code in `theme config`.
```
menu
...
# - tag:
# url: 'tags'
# title: 'tag'
```

## Add category page
Execjte `hexo new page categories`,and set layout to `categories`,and uncomment the following code in `theme config`.
```
menu
...
# - category:
# url: 'categories'
# title: 'category'
```

## Add date page
Date page shows all dates monthly.Execjte `hexo new page date`,and set layout to `date`,and uncomment the following code in `theme config`.
```
menu
...
# - date:
# url: 'date'
# title: 'date'
```

## Add archives page
Archives page show all posts.Uncomment the following code in `theme config`.
```
menu
...
# - archive:
# url: 'list'
# title: 'archive'
```

## Add search page
Search page requires [`Algolia`](https://www.algolia.com).Execute `hexo new page search` and set layout to `search`.Uncomment following code to `theme.config` file
```
# algolia:
# appId: "{replace with your Application ID}"
# apiKey: "{replace with your Search-Only API Key}"
# indexName: "{replace with your index name}"
```

## Enable comment
NoJS supports staticman,first uncomment `# staticman:` in `theme config`.