Include deals

This commit is contained in:
Nico Schottelius 2020-01-04 17:56:10 +01:00
parent dbb39a294e
commit a6ef9f85fe
5 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,6 @@
_model: deals
title: Deals
subtitle: Special offers for you

View File

@ -0,0 +1,28 @@
title: Penguin Day 2020
subtitle: Draw your own cute penguin and get 10% discount
## 2020-01-06: The first penguin day in 2020!
You might already know, we are really into [penguin
So much that we would love to see your penguin drawings.
And because we like penguins so much, we give you a 10% discount
on any virtual machine from
[Data Center Light]( or
[IPv6 Only Hosting](
for anyone who sends us a penguin drawing!
## How it works
Draw your own penguin or a penguin comic and
tweet it to [@ungleich]( by
latest 2020-01-06 midnight (CET) and follows us so that we can send
you a DM on how to use your discount.
The discount can be redeemed until 2020-01-31 and applies to a VM of
any size (i.e. smallest to biggest and everything in between). The
discount stays for as long as the VM stays active.

models/deals.ini Normal file
View File

@ -0,0 +1,16 @@
name = Deals
label = Deals
hidden = yes
label = Title
type = string
label = Subtitle
type = string
order_by = -pub_date, title
model = page-2020

templates/deals.html Symbolic link
View File

@ -0,0 +1 @@

View File

@ -53,6 +53,9 @@
<li class="nav-item">
<a class="nav-link" href="/u/projects/">Projects</a>
<li class="nav-item">
<a class="nav-link" href="/u/deals/">Deals</a>
<form class="form-inline my-2 my-lg-0"
action="" method="get">
@ -63,7 +66,6 @@
<a class="nav-link" href="/u/">
<button type="button" class="btn btn-info"
style="margin-left: 8px;">
BETA Website