getpelican / pelican

Static site generator that supports Markdown and reST syntax. Powered by Python.
https://getpelican.com
GNU Affero General Public License v3.0
12.56k stars 1.81k forks source link

[Question] Importing HTML/CSS/JavaScript site [Don't fixed] #2089

Closed Kristinita closed 7 years ago

Kristinita commented 7 years ago

1. Briefly

Is it possible import to Pelican site, written only in HTML, CSS and JavaScript?

2. Detail

I never use CMS or site generators, I write my static sites only in HTML, CSS and JavaScript. Now I want to use Pelican. What I must do, that quickly import my site to Pelican? My site — http://kristinita.ru, page example of my site — http://kristinita.ru/Sublime-Text/SashaSublime.

3. Did not help

I read documentation page Importing an existing site, but in that page I see import information only about CMS.

Thanks.

abennett commented 7 years ago

@Kristinita, you can only import the following formats listed in the documentation:

A custom site, like yours, would not fall into those categories.

justinmayer commented 7 years ago

@Kristinita: You can use HTML as an input format, as described in the docs. Some customization will still be required — for example, you'll likely need to put post meta-data in the <meta> tags as described in the link above.

Alternatively, you can use conversion tools to convert your HTML to Markdown, using the converted Markdown as your source files.