layout edits

This commit is contained in:
Sharwin24 2024-12-29 13:22:40 -08:00
parent c729148ac7
commit 9068511515
3 changed files with 8 additions and 30 deletions

View file

@ -73,7 +73,8 @@
aria-label="Star {{ .name }}"
>{{ i18n "project_star" }}</a
>
{{ else if .url }}
{{ end }}
{{ if .url }}
<span>
<a
class="btn btn-outline-info btn-sm"

View file

@ -143,30 +143,7 @@
<!-------------- Newsletter --------------->
{{ if $newsletterEnabled }}
{{ $provider := site.Params.footer.newsletter.provider }}
<div class="col-md-4 col-sm-12">
<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>
<!-- /home/sharwin/web-dev/toha-sharwin/data/en/site.yaml -->
{{ end }}
</div>
</div>
@ -177,7 +154,7 @@
</div>
{{ end }}
{{ if $credentialsEnabled }}
<hr />
<!-- <hr />
<div class="container">
<div class="row text-start">
<div class="col-md-4">
@ -193,7 +170,7 @@
</a>
</div>
</div>
</div>
</div> -->
{{ end }}
</footer>
{{end}}

View file

@ -12,11 +12,11 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<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>
<div class="sidebar-tree">
<ul class="tree" id="tree">
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
<ul style="color: white;" class="tree" id="tree">
<li style="color: white;" id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
<div class="subtree taxonomy-terms">
{{ $context := . }}
{{ partial "navigators/taxonomies.html" (dict "context" $context "taxo" "tags" "title" ( humanize "tags" ) ) }}