lumbung.space/themes/lumbung-theme/layouts/_default/baseof.html
Aadil Ayub c5a7ad38fe
All checks were successful
continuous-integration/drone/push Build is passing
remove box around previous arrow in bottom navigation
2022-04-13 11:17:02 +05:00

35 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode | default "en" }}">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "news-ticker.html" . -}}
{{- partial "footer.html" . -}}
</body>
<script>
function toggleDescription(id){
document.querySelector(id).classList.toggle("collapsed");
}
function loadPlayer(id, embed_path){
media = document.querySelector('#media-'+ id)
var iframe = document.createElement('iframe');
iframe.src = embed_path + '?autoplay=1&title=0';
iframe.width = 560;
iframe.height = 315;
iframe.frameBorder = 0;
iframe.sandbox = "allow-same-origin allow-scripts allow-popups" ;
media.appendChild(iframe);
document.querySelector('#thumb-'+ id).remove();
}
document.querySelector('[aria-label="Previous"]').parentElement.classList.add('previous-page-link')
</script>
</html>