style updates, mailmap
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
|
@ -1,6 +1,6 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<section class="section">
|
||||
<section class="section-sm">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 mb-4">
|
||||
|
@ -8,7 +8,7 @@ crossorigin=""/>
|
||||
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
|
||||
crossorigin=""></script>
|
||||
|
||||
<section class="section-sm bg-gray">
|
||||
<section class="section-sm pb-0 bg-gray">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 mb-4 mb-lg-0">
|
||||
@ -48,11 +48,25 @@ crossorigin=""/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section pt-0 bg-gray">
|
||||
<section class="section-sm bg-gray">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="map" class="card col-12" style="height: 50vh;">
|
||||
<script src="/js/map.js"></script>
|
||||
<script>
|
||||
var map = L.map('map', {
|
||||
scrollWheelZoom: false
|
||||
}).setView([51.473361, 11.965619], 100);
|
||||
|
||||
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||
}).addTo(map);
|
||||
|
||||
var marker = L.marker([51.473361, 11.965619]).addTo(map);
|
||||
|
||||
map.on('click', (e) => {
|
||||
marker.bindPopup('Georg-Cantor-Gymnasium<br>Torstraße 13<br>06110 Halle (Saale)<br><b><a href="https://www.qwant.com/maps/place/osm:way:54033279@Georg-Cantor-Gymnasium">Route</a>').openPopup();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,8 +1,8 @@
|
||||
<div class="card border-primary rounded-2 hover-shadow mb-4">
|
||||
<div class="card-body mb-0">
|
||||
<details class="mb-0">
|
||||
<summary class="mb-0">{{ .title }}</summary>
|
||||
<div class="content mt-4">{{ .content | markdownify }}</div>
|
||||
<details>
|
||||
<summary>{{ .title }}</summary>
|
||||
<div class="content">{{ .content | markdownify }}</div>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
@ -50,18 +50,17 @@
|
||||
<div id="wc-canvas" class="wc-canvas"></div>
|
||||
{{ $topics := slice }}
|
||||
{{ if .Params.pretext }}
|
||||
{{ $topics = $topics | append (slice (slice .Params.Title 200 (md5 .Title))) }}
|
||||
{{ $topics = $topics | append (slice (slice .Params.Title 200 (md5 .Title))) }}
|
||||
{{ else }}
|
||||
{{ $topics = $topics | append (slice (slice .Params.Title 200)) }}
|
||||
{{ $topics = $topics | append (slice (slice .Params.Title 200)) }}
|
||||
{{ end }}
|
||||
{{ range .Params.topics }}
|
||||
{{ if .superhaufen.enable }}
|
||||
{{ $topics = $topics | append (slice (slice .title 30 (.superhaufen.link | urlize) "superhaufen" )) }}
|
||||
{{ $topics = $topics | append (slice (slice .title 30 (.superhaufen.link | urlize) "superhaufen" )) }}
|
||||
{{ else }}
|
||||
{{ $topics = $topics | append (slice (slice .title 30 (md5 .title) )) }}
|
||||
{{ $topics = $topics | append (slice (slice .title 30 (md5 .title) )) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $topics = $topics | jsonify }}
|
||||
<script>
|
||||
WordCloud(
|
||||
document.getElementById('wc-canvas'),
|
||||
@ -81,9 +80,9 @@
|
||||
/* hover: function(item, dimension, event) {
|
||||
item && item[2] ? event.target.style.textDecorationLine = "underline" : null
|
||||
},*/
|
||||
fontFamily: 'Tilt Warp, serif',
|
||||
fontFamily: 'Rubik, sans-serif',
|
||||
fontWeight: 700,
|
||||
list: JSON.parse("{{ $topics }}"),
|
||||
list: JSON.parse("{{ $topics | jsonify }}"),
|
||||
shrinkToFit: true,
|
||||
gridSize: 50,
|
||||
rotateRatio: 0,
|
||||
|
Reference in New Issue
Block a user