github.com/PDOK/gokoala@v0.50.6/internal/ogc/styles/templates/style.go.html (about)

     1  {{- /*gotype: github.com/PDOK/gokoala/internal/engine.TemplateData*/ -}}
     2  {{ define "content" }}
     3  {{ if .Params }}
     4  {{ $baseUrl := .Config.BaseURL }}
     5  <hgroup>
     6      <h1 class="title" id="title">{{ .Config.Title }} - {{ .Params.Title }}</h1>
     7  </hgroup>
     8  <div class="row py-3">
     9      <div class="col-md-12">
    10          {{ markdown .Params.Description }}
    11      </div>
    12      <div class="col-md-6">
    13          <link rel="stylesheet" type="text/css" href="view-component/styles.css">
    14          <script type="text/javascript" src="view-component/main.js"></script>
    15          <script type="text/javascript" src="view-component/polyfills.js"></script>
    16          <script type="text/javascript" src="view-component/runtime.js"></script>
    17          <app-legend-view id="style-legend-view" class="card"
    18                           style-url="{{ $baseUrl }}/styles/{{ .Params.ID }}?f=mapbox">
    19          </app-legend-view>
    20          <noscript>Enable Javascript to display style legend</noscript>
    21      </div>
    22  </div>
    23  {{end}}
    24  {{end}}