diff --git a/content/u/products/ipv6-only-hosting/contents.lr b/content/u/products/ipv6-only-hosting/contents.lr new file mode 100644 index 0000000..ab9b7ec --- /dev/null +++ b/content/u/products/ipv6-only-hosting/contents.lr @@ -0,0 +1,11 @@ +name: IPv6 Only Hosting +--- +buy_link: https://google.com +--- +description: Hi there this is descriptino +--- +_discoverable: yes +--- +_hidden: no +--- +teaser: We provide best IPv6 only hosting diff --git a/content/u/products/ipv6vpn/contents.lr b/content/u/products/ipv6vpn/contents.lr new file mode 100644 index 0000000..e880f5f --- /dev/null +++ b/content/u/products/ipv6vpn/contents.lr @@ -0,0 +1,11 @@ +name: IPv6 VPN +--- +_discoverable: yes +--- +_hidden: no +--- +buy_link: http://ungleich.ch +--- +description: This is description +--- +teaser: This is teaser diff --git a/models/product.ini b/models/product.ini index 301f659..e677a7a 100644 --- a/models/product.ini +++ b/models/product.ini @@ -1,17 +1,25 @@ [model] -name = Product name +name = Product label = {{ this.title }} hidden = yes -[fields.title] -label = Title +[fields.name] +label = Product Name type = string size = large -[fields.body] -label = Body -type = markdown +[fields.teaser] +label = Teaser +type = string +width = 1/2 -[fields.abstract] -label = Abstract -type = markdown +[fields.description] +label = Description +type = string +width = 1/4 +addon_label = @ + +[fields.buy_link] +label = Buy Link +type = url +width = 1/4 diff --git a/models/products.ini b/models/products.ini new file mode 100644 index 0000000..baabe3f --- /dev/null +++ b/models/products.ini @@ -0,0 +1,8 @@ +[model] +name = Products +label = Products +hidden = yes + +[fields.title] +label = Title +type = string diff --git a/templates/macros/product.html b/templates/macros/product.html new file mode 100644 index 0000000..10dfb48 --- /dev/null +++ b/templates/macros/product.html @@ -0,0 +1,29 @@ +{% macro render_product(product, from_index=false) %} + {% if from_index %} +
+
+ {{ product.abstract }} +
+ +And an even wittier subheading - to boot. Jumpstart your marketing efforts with this example based - on Apple’s marketing pages.
- Get it here! -And an even wittier subheading - to boot. Jumpstart your marketing efforts with this example based - on Apple’s marketing pages.
- Get it here! - -And an even wittier subheading - to boot. Jumpstart your marketing efforts with this example based - on Apple’s marketing pages.
- Get it here! -And an even wittier subheading - to boot. Jumpstart your marketing efforts with this example based - on Apple’s marketing pages.
- Get it here! + --> +{% extends "layout.html" %} +{% from "macros/blog.html" import render_blog_post %} +{% from "macros/pagination.html" import render_pagination %} +{% block title %}{{ this.title }}{% endblock %} +{% block body %} +Some quick example text to build on the card title and make up the bulk of the card's content.
- Go somewhere +Some quick example text to build on the card title and make up the bulk of the card's content.
- Go somewhere -Some quick example text to build on the card title and make up the bulk of the card's content.
- Go somewhere -