hexo icon indicating copy to clipboard operation
hexo copied to clipboard

How to create an hexo page without the theme style ? Thank you!

Open edgarcheverier opened this issue 8 years ago • 2 comments

Environment Info

Question

I'm creating a website, and I would like to have one page of the website without the predeterminate style of the theme.

Thank you!

For feature request

edgarcheverier avatar Dec 23 '17 16:12 edgarcheverier

Specifying layout: false in that post's front-matter section, like:

title: test
date: 2018-01-02 21:42:30
layout: false
---
My post content, blahblah

But specifying that will NOT generate a valid HTML Document (e.g. no <html>, <body>), only the result of rendered post. If you still want to have valid result, please consult your theme's author, or create your own one with a blank layout.

unnamed42 avatar Jan 03 '18 08:01 unnamed42

Or use HTML instead of markdown and add your page to the property skip_render:

skip_render:
 - 'assets/404.html'

See https://github.com/tomap/tpi2.eu/blob/master/_config.yml#L28

tomap avatar Jan 08 '18 17:01 tomap