| 1 |
{{ define "main" }} |
| 2 |
<!-- |
| 3 |
|
| 4 |
Licensed to the Apache Software Foundation (ASF) under one |
| 5 |
or more contributor license agreements. See the NOTICE file |
| 6 |
distributed with this work for additional information |
| 7 |
regarding copyright ownership. The ASF licenses this file |
| 8 |
to you under the Apache License, Version 2.0 (the |
| 9 |
"License"); you may not use this file except in compliance |
| 10 |
with the License. You may obtain a copy of the License at |
| 11 |
|
| 12 |
https://www.apache.org/licenses/LICENSE-2.0 |
| 13 |
|
| 14 |
Unless required by applicable law or agreed to in writing, |
| 15 |
software distributed under the License is distributed on an |
| 16 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 17 |
KIND, either express or implied. See the License for the |
| 18 |
specific language governing permissions and limitations |
| 19 |
under the License. |
| 20 |
|
| 21 |
--> |
| 22 |
<div class="td-content"> |
| 23 |
<h1>{{ .Title }}</h1> |
| 24 |
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }} |
| 25 |
<header class="article-meta"> |
| 26 |
{{ $context := . }} |
| 27 |
{{ if .Site.Params.Taxonomy.taxonomyPageHeader }} |
| 28 |
{{ range $index, $taxo := .Site.Params.Taxonomy.taxonomyPageHeader }} |
| 29 |
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }} |
| 30 |
{{ end }} |
| 31 |
{{ else }} |
| 32 |
{{ range $taxo, $taxo_map := .Site.Taxonomies }} |
| 33 |
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }} |
| 34 |
{{ end }} |
| 35 |
{{ end }} |
| 36 |
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }} |
| 37 |
{{ partial "reading-time.html" . }} |
| 38 |
{{ end }} |
| 39 |
</header> |
| 40 |
{{ .Content }} |
| 41 |
{{ partial "section-index.html" . }} |
| 42 |
{{ if (.Site.Config.Services.Disqus.Shortname) }} |
| 43 |
<br /> |
| 44 |
{{ partial "disqus-comment.html" . }} |
| 45 |
{{ end }} |
| 46 |
{{ partial "page-meta-lastmod.html" . }} |
| 47 |
</div> |
| 48 |
{{ end }} |