소스 검색

Improve semantic structure

enhancements
budparr 7 년 전
부모
커밋
65de4fddb0
No account linked to committer's email address
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6
    6
      layouts/_default/single.html

+ 6
- 6
layouts/_default/single.html 파일 보기

@@ -4,9 +4,9 @@
{{ end }}

{{ define "main" }}
<div class="flex-l flex-wrap mt2 mw8 center">
<article class="flex-l flex-wrap mt2 mw8 center">

<article class="center cf pv5 ph3 ph4-ns mw7 w-two-thirds-l">
<main class="center cf pv5 ph3 ph4-ns mw7 w-two-thirds-l">
<p class="f6 b helvetica tracked">
{{/* Humanize removes hyphens and capitalizes the first word */}}
{{ humanize .Section | upper }}
@@ -23,11 +23,11 @@
{{ .Content }}
</section>
{{ partial "tags.html" . }}
</article>
</main>

<div class="ph3 mt2 mt6-ns w-third-l">
<aside class="ph3 mt2 mt6-ns w-third-l">
{{ partial "menu-contextual.html" . }}
</div>
</aside>

</div>
</article>
{{ end }}

Loading…
취소
저장