Skip to content

Instantly share code, notes, and snippets.

View samlinville's full-sized avatar
🤠
hooting and hollering

Sam Linville samlinville

🤠
hooting and hollering
View GitHub Profile

Keybase proof

I hereby claim:

  • I am samlinville on github.
  • I am samlinville (https://keybase.io/samlinville) on keybase.
  • I have a public key ASBGDTbaIrdZA8azE2OsQO3bVicJ9vO3o9Szl2UQqNT8Kwo

To claim this, I am signing this object:

Title: A Kirby Example
----
Subtitle: The simplest template
----
Article:
Here's some text for the **article.**
KirbyText works just like Markdown, so it will add paragraphs automatically!
<html>
<!-- Kirby uses partials, called snippets. -->
<?php echo snippet('head') ?>
<!-- This is a template tag in Kirby. I tell Kirby to look within the page's structured text for a field called "title," then parse it as plain HTML. -->
<h1><?php echo $page->title()->html() ?></h1>
<h2><?php echo $page->subtitle()->html() ?></h2>
<!-- Kirby includes an enhanced version of Markdown called Kirbytext. I didn't put this template tag within any HTML tags, because it will automatically generate structural HTML tags like <p> where appropriate -->
<?php echo $page->article()->kirbytext() ?>
.wrapper {
width: 100%;
height: 80px;
background : #37A346
border-top: 2px solid #939393;
position: relative;
margin-bottom: 30px;
}
ul {