# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lh1me.gitbook.io/aomori/types/page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
