initial commit
This commit is contained in:
		
							
								
								
									
										19
									
								
								themes/simple/static/css/article.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								themes/simple/static/css/article.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| .primary-article-image { | ||||
|   margin-top: 1rem; | ||||
| } | ||||
|  | ||||
| .primary-article-image, .secondary-article-image { | ||||
|   display: flex; | ||||
|   justify-content: space-around; | ||||
| } | ||||
|  | ||||
| .primary-article-image img, .secondary-article-image img{ | ||||
|   max-width:90%; | ||||
| } | ||||
|  | ||||
| .image-caption { | ||||
|   text-align: center; | ||||
|   margin-top: 1em; | ||||
|   font-size: small; | ||||
|   font-style: oblique; | ||||
| } | ||||
							
								
								
									
										86
									
								
								themes/simple/static/css/index.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										86
									
								
								themes/simple/static/css/index.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,86 @@ | ||||
| .entry-content { | ||||
|   display: flex; | ||||
|   flex-wrap: wrap; | ||||
|   justify-content: space-around; | ||||
|   align-items: center; | ||||
|   margin-top: 1rem; | ||||
| } | ||||
|  | ||||
| .entry-content img { | ||||
|   height: auto; | ||||
|   width: auto; | ||||
|   max-height: 200px; | ||||
|   max-width: 300px; | ||||
|   padding-left: 5px; | ||||
|   padding-right: 5px; | ||||
| } | ||||
|  | ||||
| .summary-container { | ||||
|   width: calc(100% - 560px); | ||||
|   min-width: 280px; | ||||
|   max-width: 95%; | ||||
|   padding-left: 5px; | ||||
|   padding-right: 5px; | ||||
|   text-align: justify; | ||||
| } | ||||
|  | ||||
| @media only screen and (max-width: 600px) { | ||||
|   .summary-container { | ||||
|     width: 100%; | ||||
|   } | ||||
| } | ||||
|  | ||||
| .entry-content a{ | ||||
|   -webkit-tap-highlight-color:transparent; | ||||
| } | ||||
|  | ||||
| .summary-container a { | ||||
|   text-decoration: none; | ||||
| } | ||||
|  | ||||
| @media only screen and (min-width: 980px) { | ||||
|   .entry-content { | ||||
|     justify-content: space-between; | ||||
|   } | ||||
| } | ||||
|  | ||||
| .index-header-footer-container { | ||||
|   display: flex; | ||||
|   align-items: flex-end; | ||||
|   flex-wrap: wrap; | ||||
| } | ||||
|  | ||||
| .index-header-footer-container header{ | ||||
|   width: 50%; | ||||
|   margin-right: 10%; | ||||
| } | ||||
|  | ||||
| .index-header-footer-container footer{ | ||||
|   width: 40%; | ||||
| } | ||||
|  | ||||
| .hentry { | ||||
|   margin-top: 1em; | ||||
| } | ||||
|  | ||||
| @media only screen and (max-width: 800px) { | ||||
|   .index-header-footer-container { | ||||
|     align-items: flex-start; | ||||
|   } | ||||
|  | ||||
|   .index-header-footer-container header{ | ||||
|     width: 100%; | ||||
|   } | ||||
|  | ||||
|   .index-header-footer-container footer{ | ||||
|     width: 100%; | ||||
|   } | ||||
|  | ||||
|   .entry-title { | ||||
|     margin-bottom: .2em; | ||||
|   } | ||||
|  | ||||
|   .hentry { | ||||
|     margin-top: unset; | ||||
|   } | ||||
| } | ||||
							
								
								
									
										80
									
								
								themes/simple/static/css/main.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								themes/simple/static/css/main.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,80 @@ | ||||
| :root { | ||||
|   --black: #343a40; | ||||
|   --gray: #6c757d; | ||||
| } | ||||
|  | ||||
| html, a{ | ||||
|   color: var(--black); | ||||
| } | ||||
|  | ||||
| body { | ||||
|   max-width: 1000px; | ||||
|   margin: 0 auto 0 auto; | ||||
|   padding: 5px; | ||||
| } | ||||
|  | ||||
| .entry-content { | ||||
|   line-height: 1.5; | ||||
|   font-size: 1.0rem; | ||||
| } | ||||
|  | ||||
| .entry-content p, .summary-container { | ||||
|   text-align: justify; | ||||
|   font-family: monospace; | ||||
| } | ||||
|  | ||||
| .entry-title a{ | ||||
|   text-decoration: none; | ||||
| } | ||||
|  | ||||
| a:hover { | ||||
|   color: var(--gray); | ||||
| } | ||||
|  | ||||
| h1 a{ | ||||
|   text-decoration: none; | ||||
| } | ||||
|  | ||||
| h1 { | ||||
|   font-size: 1.5em; | ||||
| } | ||||
|  | ||||
| .paginator text{ | ||||
|   line-height: 1; | ||||
| } | ||||
|  | ||||
| .paginator a{ | ||||
|   font-size: 4em; | ||||
|   text-decoration: none; | ||||
|   -webkit-tap-highlight-color:transparent; | ||||
| } | ||||
|  | ||||
| #top-info { | ||||
|   display: flex; | ||||
|   flex-wrap: wrap; | ||||
|   justify-content: space-between; | ||||
|   align-items: center; | ||||
| } | ||||
|  | ||||
| #top-info-left, #top-info-right { | ||||
|   width: 50%; | ||||
| } | ||||
|  | ||||
| #top-info-right { | ||||
|   text-align: center; | ||||
| } | ||||
|  | ||||
| #top-info-phone { | ||||
|   margin-top: .6em; | ||||
|   margin-bottom: .6em; | ||||
| } | ||||
|  | ||||
| @media only screen and (max-width: 800px) { | ||||
|   #top-info { | ||||
|     justify-content: space-around; | ||||
|   } | ||||
|  | ||||
|   #top-info-left, #top-info-right { | ||||
|     width: unset; | ||||
|   } | ||||
| } | ||||
							
								
								
									
										12
									
								
								themes/simple/static/css/search.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								themes/simple/static/css/search.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| .tipue_search_group { | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
| } | ||||
|  | ||||
| #tipue_search_content { | ||||
|   margin: 0 auto 0 auto; | ||||
| } | ||||
|  | ||||
| .tipue_search_content_text { | ||||
|   text-align: justify; | ||||
| } | ||||
							
								
								
									
										78
									
								
								themes/simple/templates/article.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										78
									
								
								themes/simple/templates/article.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,78 @@ | ||||
| {% extends "base.html" %} | ||||
| {% block html_lang %}{{ article.lang }}{% endblock %} | ||||
|  | ||||
| {% block title %}{{ SITENAME }} - {{ article.title }}{% endblock %} | ||||
|  | ||||
| {% block head %} | ||||
|   {{ super() }} | ||||
|  | ||||
|   {% import 'translations.html' as translations with context %} | ||||
|   {% if translations.entry_hreflang(article) %} | ||||
|     {{ translations.entry_hreflang(article) }} | ||||
|   {% endif %} | ||||
|  | ||||
|   {% if article.description %} | ||||
|     <meta name="description" content="{{article.description}}" /> | ||||
|   {% endif %} | ||||
|  | ||||
|   {% for tag in article.tags %} | ||||
|     <meta name="tags" content="{{tag}}" /> | ||||
|   {% endfor %} | ||||
|  | ||||
|   <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/article.css" /> | ||||
| {% endblock %} | ||||
|  | ||||
| {% block content %} | ||||
| <section id="content" class="body"> | ||||
|   <header> | ||||
|     <h2 class="entry-title"> | ||||
|       <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" | ||||
|          title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> | ||||
|  {% import 'translations.html' as translations with context %} | ||||
|  {{ translations.translations_for(article) }} | ||||
|   </header> | ||||
|   <footer class="post-info"> | ||||
|     <time class="published" datetime="{{ article.date.isoformat() }}"> | ||||
|       {{ article.locale_date }} | ||||
|     </time> | ||||
|     {% if article.modified %} | ||||
|     <time class="modified" datetime="{{ article.modified.isoformat() }}"> | ||||
|       {{ article.locale_modified }} | ||||
|     </time> | ||||
|     {% endif %} | ||||
|     {% if article.category %} | ||||
|     <div class="category"> | ||||
|         Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> | ||||
|     </div> | ||||
|     {% endif %} | ||||
|     {% if article.tags %} | ||||
|     <div class="tags"> | ||||
|         Tags: | ||||
|         {% for tag in article.tags %} | ||||
|             <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> | ||||
|         {% endfor %} | ||||
|     </div> | ||||
|     {% endif %} | ||||
|   </footer><!-- /.post-info --> | ||||
|   <div class="entry-content"> | ||||
|     {{ article.content }} | ||||
|   </div><!-- /.entry-content --> | ||||
| </section> | ||||
| {% if article.prev_article and article.next_article %} | ||||
|   <div class="paginator" style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px;"> | ||||
|     <a href="{{ SITEURL }}/{{ article.next_article.url }}">«</a> | ||||
|     <a href="{{ SITEURL }}/{{ article.prev_article.url }}">»</a> | ||||
|   </div> | ||||
| {% else %} | ||||
|   {% if article.prev_article %} | ||||
|     <div class="paginator" style="display: flex; align-items: flex-end; margin-bottom: 15px; flex-direction: row-reverse"> | ||||
|       <a href="{{ SITEURL }}/{{ article.prev_article.url }}">»</a> | ||||
|     </div> | ||||
|   {% endif %} | ||||
|   {% if article.next_article %} | ||||
|     <div class="paginator" style="display: flex; align-items: flex-end; margin-bottom: 15px;"> | ||||
|       <a href="{{ SITEURL }}/{{ article.next_article.url }}">«</a> | ||||
|     </div> | ||||
|   {% endif %} | ||||
| {% endif %} | ||||
| {% endblock %} | ||||
							
								
								
									
										116
									
								
								themes/simple/templates/base.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										116
									
								
								themes/simple/templates/base.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,116 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}"> | ||||
| <head> | ||||
|         <link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css" integrity="sha384-Uu6IeWbM+gzNVXJcM9XV3SohHtmWE+3VGi496jvgX1jyvDTXfdK+rfZc8C1Aehk5" crossorigin="anonymous"> | ||||
|         <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
|         <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" /> | ||||
|         {% block head %} | ||||
|         <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> | ||||
|         <meta charset="utf-8" /> | ||||
|         {% if FEED_ALL_ATOM %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> | ||||
|         {% endif %} | ||||
|         {% if FEED_ALL_RSS %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> | ||||
|         {% endif %} | ||||
|         {% if FEED_ATOM %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> | ||||
|         {% endif %} | ||||
|         {% if FEED_RSS %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> | ||||
|         {% endif %} | ||||
|         {% if CATEGORY_FEED_ATOM and category %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM|format(category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" /> | ||||
|         {% endif %} | ||||
|         {% if CATEGORY_FEED_RSS and category %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_RSS|format(category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" /> | ||||
|         {% endif %} | ||||
|         {% if TAG_FEED_ATOM and tag %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_ATOM|format(tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" /> | ||||
|         {% endif %} | ||||
|         {% if TAG_FEED_RSS and tag %} | ||||
|         <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_RSS|format(tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> | ||||
|         {% endif %} | ||||
|         {% endblock head %} | ||||
|         {% include 'open_graph.html' %} | ||||
|         {% block extra_head %} | ||||
|         {% endblock extra_head %} | ||||
| </head> | ||||
|  | ||||
| <body id="index" class="home"> | ||||
|   <div id="top-info"> | ||||
|     <div id="top-info-left"> | ||||
|       <img src="/images/LMNW+Logo+only.jpg" alt="LMNW Logo" style="width: 400px; max-width:100%;"/> | ||||
|     </div> | ||||
|     <div id="top-info-right"> | ||||
|       <a href="https://maps.google.com/?q=24010 SE Hwy 212, Damascus OR, 97089" target="_blank"> | ||||
|         <div>24010 SE HWY 212</div> | ||||
|         <div>DAMASCUS, OREGON 97089</div> | ||||
|       </a> | ||||
|       <div id="top-info-phone"><a href="tel:503-669-1268">503-669-1268</a></div> | ||||
|       <div> | ||||
|         <a href="mailto:sales@landscapematerialsnw.com">SALES@LANDSCAPEMATERIALSNW.COM</a> | ||||
|       </div> | ||||
|     </div> | ||||
|   </div> | ||||
|   <hr> | ||||
|     <header id="banner" class="body"> | ||||
|     <h1 style="text-align: center; margin-bottom: 0; margin-top: 1.33em;"><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1> | ||||
|     </header> <!--/#banner --> | ||||
|     <nav id="menu" class="pure-menu pure-menu-horizontal pure-menu-scrollable"> | ||||
|       <a href="{{ SITEURL }}/" class="pure-menu-link pure-menu-heading" style="color: #343a40;">Home</a> | ||||
|       <ul class="pure-menu-list"> | ||||
|  | ||||
|         {% for title, link in MENUITEMS %} | ||||
|         <li class="pure-menu-item"> | ||||
|           <a href="{{ link }}" class="pure-menu-link">{{ title }}</a> | ||||
|         </li> | ||||
|         {% endfor %} | ||||
|  | ||||
|         {% if DISPLAY_PAGES_ON_MENU %} | ||||
|         {% for p in pages %} | ||||
|         {% if p == page %} | ||||
|         <li class="pure-menu-item"> | ||||
|           <a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> | ||||
|         </li> | ||||
|         {% else %} | ||||
|         <li class="pure-menu-item"> | ||||
|           <a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> | ||||
|         </li> | ||||
|         {% endif %} | ||||
|         {% endfor %} | ||||
|         {% endif %} | ||||
|  | ||||
|         {% if DISPLAY_CATEGORIES_ON_MENU %} | ||||
|         {% for cat, null in categories %} | ||||
|         {% if cat == category %} | ||||
|         <li class="pure-menu-item"> | ||||
|           <a class="pure-menu-link" style="color: #343a40;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a> | ||||
|         </li> | ||||
|         {% else %} | ||||
|         <li class="pure-menu-item"> | ||||
|           <a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a> | ||||
|         </li> | ||||
|         {% endif %} | ||||
|  | ||||
|         {% endfor %} | ||||
|         {% endif %} | ||||
|  | ||||
|       </ul> | ||||
|     </nav><!-- /#menu --> | ||||
|     {% block content %} | ||||
|     {% endblock %} | ||||
|     <hr> | ||||
|     <div style="display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center;"> | ||||
|       <ul> | ||||
|         <li>Bulk & bagged soil, compost, bark, rock</li> | ||||
|         <li>Flowering trees & shrubs, ornamental grasses, evergreens Edible fruit trees & berries</li> | ||||
|         <li>Fertilizer, herbicides, gardening tools, & more!</li> | ||||
|       </ul> | ||||
|       <div> | ||||
|         <div style="text-align: center;">Don't see what you need?</div> | ||||
|         <div style="text-align: center;">Give us a call: <a href="tel:503-669-1268">503-669-1268</a></div> | ||||
|       </div> | ||||
|     </div> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										46
									
								
								themes/simple/templates/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								themes/simple/templates/index.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| {% extends "base.html" %} | ||||
| {% block content %} | ||||
| <section id="content"> | ||||
| {% block content_title %} | ||||
| <h2>All articles</h2> | ||||
| {% endblock %} | ||||
|  | ||||
| <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/index.css" /> | ||||
| {% for article in articles_page.object_list %} | ||||
|   <article class="hentry"> | ||||
|     <div class="index-header-footer-container"> | ||||
|       <header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header> | ||||
|       <footer class="post-info"> | ||||
|         <time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time> | ||||
|         {% if article.category %} | ||||
|         <div class="category"> | ||||
|           Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> | ||||
|         </div> | ||||
|         {% endif %} | ||||
|         {% if article.tags %} | ||||
|         <div class="tags"> | ||||
|           Tags: | ||||
|           {% for tag in article.tags %} | ||||
|           <a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> | ||||
|           {% endfor %} | ||||
|         </div> | ||||
|         {% endif %} | ||||
|       </footer><!-- /.post-info --> | ||||
|     </div> | ||||
|     <div class="entry-content"> | ||||
|       <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}"> | ||||
|         <img src="/images/{{ article.summaryimage }}" alt="{{ article.summaryimage }}"/> | ||||
|       </a> | ||||
|       <div class="summary-container"> | ||||
|         <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}"> | ||||
|           {{ article.summary|striptags }} | ||||
|         </a> | ||||
|       </div> | ||||
|     </div> | ||||
|   </article> | ||||
| {% endfor %} | ||||
| {% if articles_page.has_other_pages() %} | ||||
|     {% include 'pagination.html' %} | ||||
| {% endif %} | ||||
| </section><!-- /#content --> | ||||
| {% endblock content %} | ||||
							
								
								
									
										34
									
								
								themes/simple/templates/open_graph.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								themes/simple/templates/open_graph.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| {% if article is defined %} | ||||
|  | ||||
| <meta property="og:type" content="article" /> | ||||
| <meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" /> | ||||
| <meta property="og:title" content="{{ article.title | replace("\"", """) }}" /> | ||||
| <meta property="og:description" content="{{ article.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" /> | ||||
| <meta property="og:image" content="{{ SITEURL }}/images/{{ article.summaryimage }}" /> | ||||
| <meta property="twitter:title" content="{{ article.title | replace("\"", """) }}" /> | ||||
| <meta property="twitter:card" content="summary" /> | ||||
| <meta property="twitter:description" content="{{ article.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" /> | ||||
|  | ||||
| {% elif page is defined %} | ||||
|  | ||||
| <meta property="og:type" content="website" /> | ||||
| <meta property="og:url" content="{{ SITEURL }}/{{ page.url }}" /> | ||||
| <meta property="og:title" content="{{ SITENAME }} - {{ page.title | replace("\"", """) }}" /> | ||||
| <meta property="og:description" content="{{ page.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" /> | ||||
| <meta property="og:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" /> | ||||
| <meta property="twitter:title" content="{{ SITENAME }} - {{ page.title | replace("\"", """) }}" /> | ||||
| <meta property="twitter:card" content="summary" /> | ||||
| <meta property="twitter:description" content="{{ page.content | striptags | replace("\"", """) | truncate(196, False, '...') }}" /> | ||||
|  | ||||
| {% else %} | ||||
|  | ||||
| <meta property="og:type" content="website" /> | ||||
| <meta property="og:url" content="{{ SITEURL }}/{{ output_file }}" /> | ||||
| <meta property="og:title" content="{{ SITENAME }}" /> | ||||
| <meta property="og:description" content="A page on Landscape Materials NW" /> | ||||
| <meta property="og:image" content="{{ SITEURL }}/images/LMNW+Logo+only.jpg" /> | ||||
| <meta property="twitter:title" content="{{ SITENAME }}" /> | ||||
| <meta property="twitter:card" content="summary" /> | ||||
| <meta property="twitter:description" content="A page on Landscape Materials NW" /> | ||||
|  | ||||
| {% endif %} | ||||
							
								
								
									
										11
									
								
								themes/simple/templates/pagination.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								themes/simple/templates/pagination.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| {% if DEFAULT_PAGINATION %} | ||||
| <div class="paginator" style="display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px;"> | ||||
|     {% if articles_page.has_previous() %} | ||||
|     <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a> | ||||
|     {% endif %} | ||||
|     <div style="margin-bottom: 20px;">Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}</div> | ||||
|     {% if articles_page.has_next() %} | ||||
|     <a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a> | ||||
|     {% endif %} | ||||
| </div> | ||||
| {% endif %} | ||||
							
								
								
									
										35
									
								
								themes/simple/templates/search.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								themes/simple/templates/search.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| {% extends "base.html" %} | ||||
|  | ||||
| {% block title %} | ||||
|   Search {{ super() }} | ||||
| {% endblock title %} | ||||
|  | ||||
| {% block extra_head %} | ||||
|  | ||||
|   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||||
|   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.css"/> | ||||
|   <script src="/tipuesearch_content.js"></script> | ||||
|   <script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch.js"></script> | ||||
|   <script src="https://cdnjs.cloudflare.com/ajax/libs/Tipue-Search/5.0.0/tipuesearch_set.js"></script> | ||||
|   <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/search.css" /> | ||||
|  | ||||
|   <script> | ||||
|     $(document).ready(function() { | ||||
|       $('#tipue_search_input').tipuesearch({ | ||||
|           'show': 10,               // shows 10 found entries | ||||
|           'descriptiveWords': 75,   // shows 75 words of teaser text | ||||
|           'newWindow': false,       // don't open a new window, when clicking a result | ||||
|       }); | ||||
|     }); | ||||
|   </script> | ||||
| {% endblock %} | ||||
|  | ||||
| {% block content %} | ||||
| <h1>Search</h1> | ||||
| <form action="search.html"> | ||||
|     <div class="tipue_search_group"> | ||||
|         <input type="text" name="q" id="tipue_search_input"> | ||||
|     </div> | ||||
| </form> | ||||
| <div id="tipue_search_content"></div> | ||||
| {% endblock content %} | ||||
		Reference in New Issue
	
	Block a user