What are the features a modern CMS should have?
- Multilingual but Localized
- Shouldn't mess with HTML / CSS / JS
- Built on modern foundations
- Allow for different post types
- Versioning of content
What are the features a modern CMS should have?
| // ---- | |
| // Sass (v3.4.12) | |
| // Compass (v1.0.3) | |
| // ---- | |
| // per ogni tema dichiaro la palette | |
| $themes: ( | |
| theme1: ( | |
| base-color: red | |
| ), |
| // ---- | |
| // Sass (v3.4.12) | |
| // Compass (v1.0.3) | |
| // ---- | |
| // per ogni tema dichiaro la palette | |
| $themes: ( | |
| theme1: ( | |
| base-color: red | |
| ), |
| class MetaCollection extends Collection | |
| { | |
| public function __get($name) | |
| { | |
| return $this->getValue($name); | |
| } | |
| public function getValue($name, $default = null) | |
| { | |
| $m = $this->filter(function ($meta) use ($name) { |
| <section class="social"> | |
| <?php if($title) : ?> | |
| <h1><?php echo $title; ?></h1> | |
| <?php endif; ?> | |
| <?php if($description) : ?> | |
| <p><?php echo $description; ?></p> | |
| <?php endif; ?> | |
| <ul> | |
| <?php foreach($social_networks as $sn) : ?> | |
| <li> |
| <div class="slideshow"> | |
| <a href="#" class="prev" title="Show Previous Image">Previous</a> | |
| <ul> | |
| <li> | |
| <img src="image-1.jpg" alt="Image 1"/> | |
| </li> | |
| <li> | |
| <img src="image-2.jpg" alt="Image 2"/> | |
| </li> | |
| <li> |
| <div class="slideshow"> | |
| <ul> | |
| <li> | |
| <img src="image-1.jpg" alt="Image 1"/> | |
| </li> | |
| <li> | |
| <img src="image-2.jpg" alt="Image 2"/> | |
| </li> | |
| <li> | |
| <img src="image-3.jpg" alt="Image 3"/> |
| <div class="slideshow"> | |
| <ul> | |
| <li> | |
| <img src="image-1.jpg" alt="Image 1"/> | |
| </li> | |
| </ul> | |
| </div> |
| .titlebar | |
| { | |
| /* titlebar css rules go here */ | |
| } | |
| .titlebar .button | |
| { | |
| /* button's titlebar context modified rules go here */ | |
| } |
| Hello World To You! |