Skip to content

Latest commit

 

History

History
151 lines (87 loc) · 3.22 KB

README.rst

File metadata and controls

151 lines (87 loc) · 3.22 KB

Description

pelican-fh5co-marble is a layout from https://freehtml5.co/ ported to pelican.

Features

  • Fully responsive
  • Translation support
  • Working contact form (sending is done in php)
  • Integrated tipue_search Plugin
  • Google Maps integration
  • Disqus integration

Todo's for later version

  • ADs
  • Facebook/Twitter share

Plugins

Example blog

You can find a fully working example under https://github.com/claudio-walser/pelican-fh5co-marble-example

git clone https://github.com/claudio-walser/pelican-fh5co-marble.git
git clone https://github.com/claudio-walser/pelican-fh5co-marble-example.git
cd pelican-fh5co-marble-example
pelican
./develop_server.sh start 8081

Then visit http://localhost:8081 with your browser.

Contact Form

To get the contact form working, you need to change SMTP Login values in output/theme/mail-config.php For security reasons, NEVER check in this file anywhere but replace values in the output folder of your Pelican Blog manually or by script. Personally I build my pelican sites using jenkins and there i have a build step which is replacing SMTP Login values after the pelican build.

<?php

define('SMTP_SERVER', 'mail.your-domain.com');
define('SMTP_PORT', 587); # usually, only smtp over tls is supported
define('SMTP_REALNAME', 'John Doe');
define('SMTP_USER', '[email protected]');
define('SMTP_PASS', 'secret');

define('RECIPIENT', '[email protected]');
define('RECIPIENT_REALNAME', 'John Doe');

?>

Credits

Translations

Pull Request with more translations are very welcome. Languages in the theme right now

To create a new language, execute translations.sh

./translations.sh new ru_RU

Then translate the strings in ./locale/ru_RU/LC_MESSAGES/messages.po Afterwards call translations.sh with compile

./translations.sh compile

Again, thanks to Alexandre Vicenzi because I copied his script.

Issues or feature-requests

If you discover any bugs, feel free to create an issue on GitHub or fork and send me a pull request.

Issues List.

Authors

License

https://creativecommons.org/licenses/by/3.0/

Screenshots

screenshot-home.png

screenshot-home-2.png

screenshot-contact.png