Skip to content

Commit

Permalink
feat: disable title capitalizaiton on archive page
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Jul 24, 2024
1 parent 69c9769 commit a5229f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion assets/scss/partials/components/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
&-title {
display: inline-block;
flex: 0.96;
text-transform: uppercase;

@include themed() {
color: t('primary');
Expand Down
4 changes: 4 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
{{ range .Pages }}
<ul class="archive__list">
<li class="archive__list-item">
{{ if (eq .Site.Params.disableArchiveTitleStyling true) }}
<a class="archive__list-title" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ .Title }}</a>
{{ else }}
<a class="archive__list-title" href="{{ .RelPermalink }}" title="{{ .Title }}">{{ upper .Title }}</a>
{{ end }}
<div class="archive__list-date">
{{ if isset .Site.Params "listdateformat" }}
{{ if .Site.Params.localizedDates }}
Expand Down

0 comments on commit a5229f8

Please sign in to comment.