Skip to content

Static, no-layout html files? #217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
c0bra opened this issue Jun 27, 2013 · 5 comments
Closed

Static, no-layout html files? #217

c0bra opened this issue Jun 27, 2013 · 5 comments

Comments

@c0bra
Copy link

c0bra commented Jun 27, 2013

I'm looking for a way to copy raw html from source into public without being processed or wrapped with the layout.

I tried creating a custom "static" renderer that simply returned the content, but I guess because the extension was .html it still got caught.

Is there any way around this?

@youxiachai
Copy link

use _static ...it will ingore render files.

@c0bra
Copy link
Author

c0bra commented Jun 27, 2013

@youxiachai you mean a directory named _static? It appears to ignore that completely; the files do not get copied to public.

@tommy351
Copy link
Member

Added the following in front of the file

layout: false
---

// your content

@c0bra
Copy link
Author

c0bra commented Jun 27, 2013

@tommy351 perfect, thanks!

@c0bra c0bra closed this as completed Jun 27, 2013
@dabisrat
Copy link

dabisrat commented Apr 7, 2017

@tommy351
Thanks, that was exactly what I needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants