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

https://github.com/theme-next/theme-next-canvas-nest

canvas-nest.js for NexT.
https://github.com/theme-next/theme-next-canvas-nest

canvas-nest module theme-next

Last synced: 12 months ago
JSON representation

canvas-nest.js for NexT.

Awesome Lists containing this project

README

          

# Theme NexT Canvas Nest

![Theme Version](https://img.shields.io/badge/NexT-v7.3.0+-blue?style=flat-square)

[canvas-nest.js](https://github.com/hustcc/canvas-nest.js) for [NexT](https://github.com/theme-next).

## Install

### Step 1 → Go to Hexo dir

Change dir to **Hexo** directory. There must be `scaffolds`, `source`, `themes` and other directories:

```sh
$ cd hexo
$ ls
scaffolds source themes _config.yml package.json
```

### Step 2 → Create `footer.swig`

Create a file named `footer.swig` in `hexo/source/_data` directory (create `_data` directory if it does not exist).

Edit this file and add the following content:

```xml

```

You can customize these options.

### Step 3 → Set it up

In the NexT `_config.yml`, uncomment `footer` under the `custom_file_path` section.

```yml
# Define custom file paths.
# Create your custom files in site directory `source/_data` and uncomment needed files below.
custom_file_path:
#head: source/_data/head.swig
#header: source/_data/header.swig
#sidebar: source/_data/sidebar.swig
#postMeta: source/_data/post-meta.swig
#postBodyEnd: source/_data/post-body-end.swig
footer: source/_data/footer.swig
#bodyEnd: source/_data/body-end.swig
#variable: source/_data/variables.styl
#mixin: source/_data/mixins.styl
#style: source/_data/styles.styl
```