Fix styling of blog, photos, term, ruby
So many fixes!
This commit is contained in:
parent
b7070ccfd5
commit
a9cfddec80
21 changed files with 212 additions and 149 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue