Skip to content

Exports Drupal 7 site content in the Markdown format for static site generators, such as Jekyll, Jigsaw, etc.

License

Notifications You must be signed in to change notification settings

gwui/drupal_to_static

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drupal to Static

Drupal to Static module exports Drupal 7 site content in the Markdown format for static site generators, such as Jekyll, Jigsaw, etc.

This is a fork of lukaswhite/Drupal-Jekyll-Export module which only supports Jekyll.

Disclaimer: I'm very familiar with Drupal Coding Standards and refactoring approaches but this time I have the goal of getting my own tasks done and allowing others to use the module, so the code can be not ideal. If you want it to be better, please do.

Dependencies

Installation

Copy/clone the module into your sites/all/modules/contrib and enable it as usual from the admin panel or through drush.

Usage

  1. Once you've installed the module, browse to admin/config/development/drupal_to_static

  2. Select the content types to export, enter the name of the layout, and hit "Run Export".

  3. Download the ZIP file which the module produces for you. The archive should contain all the specified nodes in Markdown format.

  4. Then copy the content of the archive into the _posts folder of your site generator setup.

Credits

Author: Lukas White ([email protected])
Modified by: Konstantin Komelin

License

GNU GPL v2.0 (why?)

About

Exports Drupal 7 site content in the Markdown format for static site generators, such as Jekyll, Jigsaw, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published