> For the complete documentation index, see [llms.txt](https://lh1me.gitbook.io/aomori/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lh1me.gitbook.io/aomori/types/page.md).

# Page

{% hint style="info" %}
Configuration in the **page's `Front-matter`**
{% endhint %}

## **Default**

First create the page,

```
hexo new page xxx
```

Go to `source/xxx/index.md`，Set up `Front-matter`

```
title:
comment: true # or false
```

Setting the `comment` to `true` will open the comment plugin of the page

## **Friends Links**

First create the page,

```
hexo new page friends
```

Go to `source/friends/index.md`，Set up `Front-matter`

```
title:
layout: friends
comment: true # or false
```

Create data, refer to [Data Files](https://hexo.io/zh-cn/docs/data-files)

Create `source/_data/friends.json`，The format is as follows

```
[
    {
        "category": "Category 1",
        "data": [
            {
                "name": "xxx",
                "url": "https://xxx.com/"
            },
            {
                "name": "xxx",
                "url": "https://xxx.com/"
            }
        ]
    },
    {
        "category": "Category 2",
        "data": [
            ...
        ]
    },
    ...
]
```

## **Photography Page**

First create the page,

```
hexo new page photography
```

Go to `source/photography/index.md`，Set up `Front-matter`

```
title:
layout: photography
sidebar: false
```

Create data, refer to [Data Files](https://hexo.io/zh-cn/docs/data-files)

Create `source/_data/photography.json`，The format is as follows

```
[
    {
        "thumbnail": "https://thumbnail.jpg",
        "photo": "https://photo.jpg",
        "title": "This is title.",
        "icon": "camera",
        "place": "China"
    },
    {
        "thumbnail": "https://thumbnail.jpg",
        "photo": "https://photo.jpg",
        "title": "This is title.",
        "icon": "camera",
        "place": "China"
    },
    ...
]
```

`thumbnail` Thumbnail photo

`photo` Original Photo

`title` Title

`icon` field is base on [Ionicons](https://ionic.io/ionicons)

`place` Place
