layout edits
This commit is contained in:
parent
c729148ac7
commit
9068511515
3 changed files with 8 additions and 30 deletions
|
@ -73,7 +73,8 @@
|
||||||
aria-label="Star {{ .name }}"
|
aria-label="Star {{ .name }}"
|
||||||
>{{ i18n "project_star" }}</a
|
>{{ i18n "project_star" }}</a
|
||||||
>
|
>
|
||||||
{{ else if .url }}
|
{{ end }}
|
||||||
|
{{ if .url }}
|
||||||
<span>
|
<span>
|
||||||
<a
|
<a
|
||||||
class="btn btn-outline-info btn-sm"
|
class="btn btn-outline-info btn-sm"
|
||||||
|
|
|
@ -143,30 +143,7 @@
|
||||||
<!-------------- Newsletter --------------->
|
<!-------------- Newsletter --------------->
|
||||||
{{ if $newsletterEnabled }}
|
{{ if $newsletterEnabled }}
|
||||||
{{ $provider := site.Params.footer.newsletter.provider }}
|
{{ $provider := site.Params.footer.newsletter.provider }}
|
||||||
<div class="col-md-4 col-sm-12">
|
<!-- /home/sharwin/web-dev/toha-sharwin/data/en/site.yaml -->
|
||||||
<p>{{ i18n "newsletter_text" }}</p>
|
|
||||||
{{ if and (eq $provider "mailchimp") site.Params.footer.newsletter.mailchimpURL }} <!-- mailchimp -->
|
|
||||||
<form action="{{ site.Params.footer.newsletter.mailchimpURL }}" method="post" id="mc-embedded-subscribe-form"
|
|
||||||
name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="email" class="form-control" id="mce-EMAIL" name="EMAIL" aria-describedby="emailHelp"
|
|
||||||
placeholder="{{ i18n " newsletter_input_placeholder" }}" />
|
|
||||||
<small id="emailHelp" class="form-text text-muted">{{ i18n "newsletter_warning" }}</small>
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn btn-info">{{ i18n "submit" }}</button>
|
|
||||||
</form>
|
|
||||||
{{ else }}
|
|
||||||
<form method='post' action='https://blogtrottr.com'>
|
|
||||||
<div class="form-group">
|
|
||||||
<input type='email' class="form-control" name='btr_email' placeholder="{{ i18n "newsletter_input_placeholder"}}" /><br />
|
|
||||||
<input type='hidden' name='btr_url' value='{{ "" | absLangURL }}/index.xml' />
|
|
||||||
<input type='hidden' name='schedule_type' value='1' />
|
|
||||||
<small id="emailHelp" class="form-text text-muted">{{ i18n "newsletter_warning" }}</small>
|
|
||||||
<button type="submit" class="btn btn-info"> {{ i18n "submit" }} </button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -177,7 +154,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $credentialsEnabled }}
|
{{ if $credentialsEnabled }}
|
||||||
<hr />
|
<!-- <hr />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row text-start">
|
<div class="row text-start">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
@ -193,7 +170,7 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
{{end}}
|
{{end}}
|
|
@ -12,11 +12,11 @@
|
||||||
<div class="sidebar-holder">
|
<div class="sidebar-holder">
|
||||||
<div class="sidebar" id="sidebar">
|
<div class="sidebar" id="sidebar">
|
||||||
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
|
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
|
||||||
<input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
|
<input type="tex xt" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
|
||||||
</form>
|
</form>
|
||||||
<div class="sidebar-tree">
|
<div class="sidebar-tree">
|
||||||
<ul class="tree" id="tree">
|
<ul style="color: white;" class="tree" id="tree">
|
||||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
<li style="color: white;" id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||||
<div class="subtree taxonomy-terms">
|
<div class="subtree taxonomy-terms">
|
||||||
{{ $context := . }}
|
{{ $context := . }}
|
||||||
{{ partial "navigators/taxonomies.html" (dict "context" $context "taxo" "tags" "title" ( humanize "tags" ) ) }}
|
{{ partial "navigators/taxonomies.html" (dict "context" $context "taxo" "tags" "title" ( humanize "tags" ) ) }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue