Include deals
This commit is contained in:
		
					parent
					
						
							
								dbb39a294e
							
						
					
				
			
			
				commit
				
					
						a6ef9f85fe
					
				
			
		
					 5 changed files with 54 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								content/u/deals/contents.lr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								content/u/deals/contents.lr
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					_model: deals
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					title: Deals
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					subtitle: Special offers for you
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
							
								
								
									
										28
									
								
								content/u/deals/penguin-day-2020-01-06/contents.lr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								content/u/deals/penguin-day-2020-01-06/contents.lr
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,28 @@
 | 
				
			||||||
 | 
					title: Penguin Day 2020
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					subtitle: Draw your own cute penguin and get 10% discount
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					content:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## 2020-01-06: The first penguin day in 2020!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					You might already know, we are really into [penguin
 | 
				
			||||||
 | 
					comics](https://ungleich.ch/en-us/cms/penguin-comics/).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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](https://datacenterlight.ch) or
 | 
				
			||||||
 | 
					[IPv6 Only Hosting](https://ipv6onlyhosting.com)
 | 
				
			||||||
 | 
					for anyone who sends us a penguin drawing!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## How it works
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Draw your own penguin or a penguin comic and
 | 
				
			||||||
 | 
					tweet it to [@ungleich](https://twitter.com/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.
 | 
				
			||||||
							
								
								
									
										16
									
								
								models/deals.ini
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								models/deals.ini
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					[model]
 | 
				
			||||||
 | 
					name = Deals
 | 
				
			||||||
 | 
					label = Deals
 | 
				
			||||||
 | 
					hidden = yes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[fields.title]
 | 
				
			||||||
 | 
					label = Title
 | 
				
			||||||
 | 
					type = string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[fields.subtitle]
 | 
				
			||||||
 | 
					label = Subtitle
 | 
				
			||||||
 | 
					type = string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[children]
 | 
				
			||||||
 | 
					order_by = -pub_date, title
 | 
				
			||||||
 | 
					model = page-2020
 | 
				
			||||||
							
								
								
									
										1
									
								
								templates/deals.html
									
										
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								templates/deals.html
									
										
									
									
									
										Symbolic link
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					summary-page.html
 | 
				
			||||||
| 
						 | 
					@ -53,6 +53,9 @@
 | 
				
			||||||
          <li class="nav-item">
 | 
					          <li class="nav-item">
 | 
				
			||||||
            <a class="nav-link" href="/u/projects/">Projects</a>
 | 
					            <a class="nav-link" href="/u/projects/">Projects</a>
 | 
				
			||||||
          </li>
 | 
					          </li>
 | 
				
			||||||
 | 
					          <li class="nav-item">
 | 
				
			||||||
 | 
					            <a class="nav-link" href="/u/deals/">Deals</a>
 | 
				
			||||||
 | 
					          </li>
 | 
				
			||||||
        </ul>
 | 
					        </ul>
 | 
				
			||||||
        <form class="form-inline my-2 my-lg-0"
 | 
					        <form class="form-inline my-2 my-lg-0"
 | 
				
			||||||
              action="https://search.ungleich.ch/yacysearch.html" method="get">
 | 
					              action="https://search.ungleich.ch/yacysearch.html" method="get">
 | 
				
			||||||
| 
						 | 
					@ -63,7 +66,6 @@
 | 
				
			||||||
          <a class="nav-link" href="/u/">
 | 
					          <a class="nav-link" href="/u/">
 | 
				
			||||||
            <button type="button" class="btn btn-info"
 | 
					            <button type="button" class="btn btn-info"
 | 
				
			||||||
                    style="margin-left: 8px;">
 | 
					                    style="margin-left: 8px;">
 | 
				
			||||||
 | 
					 | 
				
			||||||
              BETA Website
 | 
					              BETA Website
 | 
				
			||||||
            </button>
 | 
					            </button>
 | 
				
			||||||
          </a>
 | 
					          </a>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue