This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// =========================================================== | |
// =========================================================== | |
// | |
// This is an example of a simple blog website which has been | |
// created using the following technologies: | |
// | |
// - LexasCMS (https://www.lexascms.com) | |
// - Ember.js (https://emberjs.com/) | |
// - TailwindCSS (https://tailwindcss.com/) | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
textValue: 'Some random text value', | |
actions: { | |
addText() { | |
let textValue = this.get("textValue"); | |
textValue += "[SOME MORE TEXT]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Generates an array of pages that could be used in an HTML template to | |
* create pagination links. | |
* | |
* @param integer $page | |
* @param integer $totalpages | |
* @param integer $spaces (change this value if you want to display more pages, this should be an odd number) | |
* |