Compare commits
4 commits
main
...
php-thames
| Author | SHA1 | Date | |
|---|---|---|---|
| 00917bf013 | |||
| 0fa5edbc9e | |||
| af2b0bbdc9 | |||
| 1fc01d6630 |
|
|
@ -1,7 +0,0 @@
|
|||
sculpin_content_types:
|
||||
# speakers:
|
||||
# permalink: /speakers/:basename/
|
||||
# talks:
|
||||
# permalink: /talks/:basename/
|
||||
posts:
|
||||
enabled: false
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
name: 'My New Sculpin Site'
|
||||
locale: en
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
sculpin_content_types:
|
||||
speakers:
|
||||
permalink: /speakers/:basename/
|
||||
talks:
|
||||
permalink: /talks/:basename/
|
||||
posts:
|
||||
enabled: false
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
name: 'PHP Thames Valley'
|
||||
locale: en
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.name }}</h1>
|
||||
|
||||
<img style="height: 50px; width: 50px;" src="{{ page.imageUrl }}"/>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
<hr>
|
||||
|
||||
{% for talk in data.talks if talk.speakers.0 == page.name %}
|
||||
<li>
|
||||
<a href="{{ talk.url }}">
|
||||
{{ talk.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
{{ page.date|date('jS F Y') }}
|
||||
|
||||
{% for speaker in page.speakers %}
|
||||
{{ speaker }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
name: Dan Leech
|
||||
imageUrl: /images/highres_257208698.jpeg
|
||||
layout: speaker
|
||||
use: [talks]
|
||||
---
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 758 KiB After Width: | Height: | Size: 758 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 794 KiB After Width: | Height: | Size: 794 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
15
building-static-websites-sculpin/demo/source/index.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: base
|
||||
title: Hello, PHP Thames Valley!
|
||||
use: [talks]
|
||||
---
|
||||
|
||||
<ul>
|
||||
{% for talk in data.talks %}
|
||||
<li>
|
||||
<a href="{{ talk.url }}">
|
||||
{{ talk.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.name }}</h1>
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% extends 'base' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{% endblock %}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
layout: base
|
||||
title: Hello, World!
|
||||
---
|
||||