Giter Site home page Giter Site logo

blog-grav's Introduction

blog-grav

Un POC of my own blog, using grav CMS

Run the website

  • Download grav https://getgrav.org
  • Copy user folder and make_transin your grav folder
  • Run php -S localhost:8080 system/router.php (note, they are some requirements, see project's documentation)
  • Access website: http://localhost:8080/admin (use jibec/jibec)

Please note you also need a recent version of po4a to have good markdown support. I'm using v0.52. If markdown generation doesn't work well, download it from https://github.com/mquinson/po4a/releases and edit the make_trans script to add a relative path to the po4a binary.

What should you see?

My blog is written in French, the website is configured to use both French and English.

The script make_trans will generate pot/po files from french content. You may edit translation, run again make_trans and see the updated result.

You should be able:

  • to switch from French to English in every existing or newly created pages.
  • to create language agnostic links between pages (link to folder name)
  • to write an english page with no French translation (name will be item.en.md or default.en.md depending on the template you wish to use)
  • to edit the english translation (edit po file with Localize or Poedit) and see the updated content

My opinion

It works fine! But it doesnt fit my needs regarding to my blog.

It requires php and I need static website to host it in https://jibecfed.fedorapeople.org/blog/.

As far as I know, there is no RSS feed using tag or category, which is mandatory for some blog aggregator (planets).

blog-grav's People

Contributors

jibec avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.