-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bio in modal and remove custom close text from config to close sa…
- Loading branch information
Showing
3 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
{{ "<!-- Portfolio Modals -->" | safeHTML }} | ||
{{ range .Site.Data.schedule }} | ||
{{ if eq .talk_details.talk true }} | ||
<div class="portfolio-modal modal fade" id="portfolioModal{{ .talk_details.modalID }}" tabindex="-1" role="dialog" aria-hidden="true"> | ||
<div class="modal-content"> | ||
<div class="close-modal" data-dismiss="modal"> | ||
<div class="lr"> | ||
<div class="rl"> | ||
</div> | ||
<div class="portfolio-modal modal fade" id="portfolioModal{{ .talk_details.modalID }}" tabindex="-1" role="dialog" | ||
aria-hidden="true"> | ||
<div class="modal-content"> | ||
<div class="close-modal" data-dismiss="modal"> | ||
<div class="lr"> | ||
<div class="rl"> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2"> | ||
<div class="modal-body"> | ||
<h2>{{ .talk_details.title | markdownify }}</h2> | ||
<p class="item-intro text-muted">{{ .talk_details.subtitle | markdownify }}</p> | ||
<img class="img-responsive img-centered" src="img/portfolio/{{ .talk_details.img }}" alt=""> | ||
<p>{{ .talk_details.description | markdownify }}</p> | ||
<ul class="list-inline"> | ||
<li> {{ .speaker.organisation | markdownify}} </li> | ||
<li> {{ .speaker.role | markdownify }} </li> | ||
</ul> | ||
<p class="item-intro"> {{ .speaker.bio | markdownify }}</p> | ||
<button type="button" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-times"></i> {{ with $.Site.Params.portfolio.modal.buttonText }}{{ . | markdownify }}{{ end }}</button> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-lg-offset-2"> | ||
<div class="modal-body"> | ||
<h2>{{ .talk_details.title | markdownify }}</h2> | ||
<p class="item-intro text-muted">{{ .talk_details.subtitle | markdownify }}</p> | ||
<img class="img-responsive img-centered" src="img/portfolio/{{ .talk_details.img }}" alt=""> | ||
<p>{{ .talk_details.description | markdownify }}</p> | ||
<ul class="list-inline"> | ||
<li> {{ .speaker.organisation | markdownify}} </li> | ||
<li> {{ .speaker.role | markdownify }} </li> | ||
</ul> | ||
<p class="item-intro"> {{ .speaker.bio | markdownify }}</p> | ||
<button type="button" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-times"></i>Close details</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
{{ end }} |