modals_senzaparole.html 2.06 KB
Newer Older
sbiego's avatar
sbiego committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{{ "<!-- senzaparole Modals -->" | safeHTML }}
{{ range .Site.Data.senzaparole }}
  <div class="portfolio-modal modal fade" id="senzaparoleModal{{ .modalID }}" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-content light">
      <!-- <div class="close-modal" data-dismiss="modal">
        <div class="lr">
          <div class="rl">
          </div>
        </div>
      </div> -->
      <div class="container">
        <div class="row">
          <div class="col-lg-8 col-lg-offset-2">
            <div class="senzaparole modal-body">
              <h2>{{ .title  | markdownify }}</h2>
              <!-- <p class="item-intro text-muted">{{ .subtitle | markdownify }}</p> -->
sbiego's avatar
sbiego committed
17

sbiego's avatar
sbiego committed
18
              <div class="lang_select en" onclick="toggleLang()"></div>
19

sbiego's avatar
sbiego committed
20 21
              <p class="desc_en" id="desc_en">{{ .description }}</p>
              <p class="desc_it" id="desc_it">{{ .descriptionIT }}</p>
sbiego's avatar
sbiego committed
22 23 24 25 26
              {{ $url := printf "img/senzaparole/%s" .img }}
              <div class="modal-img-frame">
              <img class="img-responsive img-centered" src="{{ $url | absURL }}" alt="">
              </div>
              <ul class="list-inline">
sbiego's avatar
sbiego committed
27
                <li>{{ with $.Site.Params.senzaparole.modal.date }}{{ . }}{{ end }}: {{ .date }}</li>
sbiego's avatar
sbiego committed
28 29 30 31 32 33 34 35 36 37 38 39 40
                <li>{{ with $.Site.Params.senzaparole.modal.etimo }}{{ . | markdownify }}{{ end }}: {{ .etimo }}</li>
                <li><a href="{{ .sitePost }}">{{ with $.Site.Params.senzaparole.modal.sitePost }}{{ . | markdownify }}{{ end }}</a></li>
                <li><a href="{{ .video }}">{{ with $.Site.Params.senzaparole.modal.video }}{{ . | markdownify }}{{ end }}</a></li>
                <!-- <li>{{ with $.Site.Params.senzaparole.modal.category }}{{ . }}{{ end }}: {{ .category  | markdownify }}</li> -->
              </ul>
              <button type="button" class="btn btn-primary" id="close_btn" data-dismiss="modal"><i class="fa fa-times"></i> {{ with $.Site.Params.senzaparole.modal.buttonText }}{{ . }}{{ end }}</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
{{ end }}