Git Product home page Git Product logo

acmecontent's Introduction

AcmeContent

Dummy project with content for Coral CMS

Project structure:

  • configuration (Contains JSON configuration files, can be actually anything - redirections, project specific configuration etc.)
  • content (site content structure)

Content structure:

  • Each folder represents a page
  • .properties contains page properties
    • Page title is on the first line
    • Blank lines are ignored by the parser
    • Each other line is parsed as key:value properties
      1. First occurence of ':' is found and
      2. Everything before the first occurence of ':' is 'key'
      3. Everything after the first occurence of ':' is 'value' (quotes " are trimmed from the end and beginning of the string)
    • Properties can be written as 'tree_sample_property' and then is inherited by all subpages untill overwritten by 'sample_property' or other 'tree_sample_property'. Properties are always accessible as sample_property in the code even if inherited via 'tree_'.
  • .[directory] contains a content of widget area of specific page
    • files within the folder represents a content
    • extensions mark which file parser/renderer needs to be used and can be customized
  • .[tree_directory] contains a content of widget area to be inherited by all subpages untill overwritten by .[tree_directory] or .[directory] for specific page(s)
  • .sortorder represents and order of sub-pages (or content of widget area)

acmecontent's People

Contributors

frtroster avatar

Watchers

 avatar James Cloos avatar Ludek Vodicka avatar Martin Stradej 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.