Fix styling of blog, photos, term, ruby

So many fixes!
This commit is contained in:
Eryn Wells 2023-09-26 09:37:04 -07:00
parent b7070ccfd5
commit a9cfddec80
21 changed files with 212 additions and 149 deletions

View file

@ -1,13 +1,13 @@
{{ if .HasShortcode "ruby" -}}
<aside>
<fieldset id="ruby-controls">
<fieldset id=ruby-controls>
<legend>Ruby</legend>
<input id="none" type="radio" name="ruby-controls" value="NONE">
<label for="none">Japanese Only</label>
<input id="both" type="radio" name="ruby-controls" value="BOTH" checked>
<label for="both">Both</label>
<input id=hidden type=radio name=ruby-controls value=HIDDEN>
<label for=hidden>English Only</label>
<input id=ruby-controls-none type=radio name=ruby-controls value=NONE>
<label for=ruby-controls-none>Japanese Only</label>
<input id=ruby-controls-both type=radio name=ruby-controls value=BOTH checked>
<label for=ruby-controls-both>Both</label>
<input id=ruby-controls-hidden type=radio name=ruby-controls value=HIDDEN>
<label for=ruby-controls-hidden>English Only</label>
</fieldset>
</aside>
{{- end }}

View file

@ -1,9 +1,16 @@
{{ partial "content_header.html" . }}
{{ partial "table_of_contents.html" . }}
{{- $layout := .Params.layout -}}
<article{{ with $layout }} class="{{ . }}"{{ end }}>
{{ .Content }}
</article>
{{- $content := .Content -}}
{{ with $layout := .Params.layout }}
<article class="{{ $layout }}">
{{ $content }}
</article>
{{ else }}
{{ $content }}
{{ end}}
<footer>
{{ partial "footer_tags.html" . }}