Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Commit

Permalink
Add content-text style to remove header caps
Browse files Browse the repository at this point in the history
Fixes #391

Signed-off-by: Matt Stratton <[email protected]>
  • Loading branch information
mattstratton committed Mar 22, 2017
1 parent 44d4d4c commit 4c3707c
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 7 deletions.
6 changes: 6 additions & 0 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -8155,6 +8155,12 @@
"oAP": "\/layouts\/partials\/sponsors.html",
"oF": 0
},
"\/layouts\/partials\/welcome.html": {
"ft": 8192,
"oA": 2,
"oAP": "\/layouts\/partials\/welcome.html",
"oF": 0
},
"\/layouts\/program\/single.html": {
"ft": 8192,
"oA": 2,
Expand Down
2 changes: 2 additions & 0 deletions exampleSite/content/events/2017-ponyville/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Type = "welcome"
aliases = ["/events/2017-ponyville/welcome"]
+++
Pivot paradigm sticky note agile grok unicorn waterfall is so 2000 and late responsive affordances thought leader. Grok big data ship it unicorn long shadow long shadow hacker. Entrepreneur waterfall is so 2000 and late integrate user centered design innovate integrate parallax prototype pivot user story fund latte iterate driven. Human-centered design SpaceTeam pitch deck workflow responsive venture capital earned media ideate user centered design thinker-maker-doer viral. Engaging co-working paradigm prototype latte prototype parallax sticky note ship it.

# This is our thing!
2 changes: 1 addition & 1 deletion layouts/event/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<div class="row">
<!-- enclosing div -->
<div class="col-md-12">
<div class="col-md-12 content-text">
<!-- main content -->
{{ if eq .File.BaseFileName "welcome"}}
{{- partial "welcome.html" . -}}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h1 class = "welcome-page">devopsdays {{$e.city}}</h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="col-md-12 content-text">
{{ .Content }}
</div>
</div>
2 changes: 1 addition & 1 deletion layouts/speaker/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="speaker-page">{{ .Title }}</h2>
</div>
<div class = "row">
<div class = "col-md-4 offset-md-1">
<span class="speaker-page">
<span class="speaker-page content-text">
{{ .Content }}
{{- if isset .Params "pronouns" -}}
{{- if ne .Params.pronouns "" -}}
Expand Down
4 changes: 2 additions & 2 deletions layouts/talk/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 class="talk-page">{{ .Title }}</h2>
<br />
<h3 class="talk-page">Talk Abstract</h3>

<span class="talk-page">
<span class="talk-page content-text">
{{ .Content }}
</span>

Expand Down Expand Up @@ -77,7 +77,7 @@ <h2 class="talk-page">Speaker</h2>
<h4 class="talk-page"><a href = "/events/{{ $event_slug }}/speakers/{{ $.Scratch.Get "speakername" }}">
{{ .Title }}
</a></h4>
<span class="talk-page">{{ .Content }}</span>
<span class="talk-page content-text">{{ .Content }}</span>
{{ end }}

{{- end -}} <!-- end if eq $talk_slug $event_slug -->
Expand Down
2 changes: 1 addition & 1 deletion static/css/site.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/css/site.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions static/scss/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,8 @@ h3.program-page {
margin-bottom:1.5em;
background:#E5ECF9;
}

//formatting for content provided by events, pages, etc
.content-text h1, h2, h3 {
text-transform: none;
}

0 comments on commit 4c3707c

Please sign in to comment.