mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-11-05 16:33:15 +00:00
fix: docs article lead
This commit is contained in:
parent
997ca5c270
commit
949b35ae7c
|
@ -82,7 +82,8 @@
|
|||
}
|
||||
|
||||
.lead {
|
||||
margin-bottom: 1.5rem;
|
||||
margin-bottom: 4rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<div class="td-content">
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
<header class="article-meta">
|
||||
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
{{ partial "feedback.html" . -}}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<div class="td-content">
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
<div class="td-byline mb-4">
|
||||
|
@ -7,9 +10,6 @@
|
|||
</div>
|
||||
<header class="article-meta">
|
||||
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
{{ if (.Site.Params.DisqusShortname) -}}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{{ define "main" }}
|
||||
<div class="td-content">
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
<header class="article-meta">
|
||||
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
{{ partial "section-index.html" . -}}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ end -}}
|
||||
<nav aria-label="breadcrumb" class="td-breadcrumbs
|
||||
{{- if $isSingle }} d-none {{- end }}">
|
||||
<ol class="breadcrumb">
|
||||
<ol class="breadcrumb pb-4">
|
||||
{{- template "breadcrumbnav" (dict "p1" . "p2" .) }}
|
||||
</ol>
|
||||
</nav>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{{ define "main" }}
|
||||
<div class="td-content">
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||||
<header class="article-meta">
|
||||
{{ partial "taxonomy_terms_article_wrapper.html" . -}}
|
||||
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) -}}
|
||||
{{ partial "reading-time.html" . -}}
|
||||
{{ end -}}
|
||||
</header>
|
||||
{{ .Content }}
|
||||
{{ partial "section-index.html" . -}}
|
||||
|
|
|
@ -162,4 +162,9 @@ li:has(input[type="checkbox"]) {
|
|||
|
||||
.carousel-control-next, .carousel-control-prev {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.reading-time {
|
||||
font-weight: 600 !important;
|
||||
margin-bottom: .5rem !important;
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{{ $links := .Site.Params.links }}
|
||||
<div class="bg-dark pt-4 px-5 pb-5 row sp-footer">
|
||||
|
||||
<div class="col-12 py-4">
|
||||
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
|
||||
<span class="navbar-brand__logo navbar-logo">
|
||||
|
@ -13,7 +12,7 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 col-xs-12 py-4">
|
||||
<div class="col-md-4 col-xs-12 py-sm-4">
|
||||
<h2 class="text-secondary">{{ T "footer_learn_more" }}</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="{{ ref . "/docs/services/" }}" class="nav-link">{{ T "footer_available_services"}}</a></li>
|
||||
|
@ -29,7 +28,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 col-xs-12 py-4">
|
||||
<div class="col-md-4 col-xs-12 py-sm-4">
|
||||
<h2 class="text-secondary">{{ T "footer_contribute" }}</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="https://git.selfprivacy.org/SelfPrivacy" class="nav-link" rel="noopener noreferrer" target="_blank">{{ T "footer_source_code" }}</a></li>
|
||||
|
@ -40,7 +39,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 col-xs-12 py-4">
|
||||
<div class="col-md-4 col-xs-12 py-sm-4">
|
||||
<h2 class="text-secondary">{{ T "footer_download" }}</h2>
|
||||
<h3 class="text-secondary">{{ T "footer_download_phone" }}</h3>
|
||||
<ul class="list-unstyled">
|
||||
|
|
Loading…
Reference in a new issue