Skip to content

Instantly share code, notes, and snippets.

@apocsve
Created September 25, 2020 01:48
Show Gist options
  • Save apocsve/5713d9520693f0a5f572a520377ebfce to your computer and use it in GitHub Desktop.
Save apocsve/5713d9520693f0a5f572a520377ebfce to your computer and use it in GitHub Desktop.
title = "This is a test"
url = "/this-is-a-test"
layout = "default"
==
<?php
function onStart()
{
$this['prueba'] = 'Hola Mundo!';
$this['buttonText'] = 'Jalabola';
}
?>
==
<div class="jumbotron title-js">
<div class="container">
<div class="row">
<div class="col-8">
<h1>{{ prueba }}</h1>
<p>Plugins can provide components, simple building blocks that enrich any page or layout. Check out the todo example below.</p>
</div>
</div>
</div>
</div>
<div class="text-center">
<p><a target="_blank" href="http://octobercms.com/docs" class="btn btn-lg btn-default">{{ buttonText }}</a></p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment