loading words...

Jun 07, 2019 21:53:59

Migrating Off WordPress

by @valentino | 234 words | 65🔥 | 363💌

Valentino Urbano

Current day streak: 65🔥
Total posts: 363💌
Total words: 173751 (695 pages 📄)

*This is a continuation of my series on migrating my web site off WordPress and onto Jekyll
*

Including non Jekyll content

On top of the pages generated by Jekyll I have parts of my website that are plain html,css and js files. Jekyll supports them out of the box and will automatically include them in the generated website. Some real examples from my website are the pages for Minimal Counter, SWTOR Calculator and IPLocation.

Any of your html, css and javascript pages that you include in your website will be included verbatim. You can make folders to setup urls as you do normally with you markdown content.

CI

You made it this far, it's time to go further into the rabbit hole. I would like to make sure that I don't push breaking changes to master which gets automatically published to mywebsite and might make some pages unreachable. For that goal I will have Travis building my website for me and checking that it works before allowing a change to be merged back to the master branch. On top of that you could add a script that checks for errors in the html, another to check your writing stile and so on, the possibilities are endless. If you have any idea let me know on Twitter.

Next up we're going to set up travis-ci to test our website after every commit using htmlproof.

contact: email - twitter / Terms / Privacy