mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
implement copyright modal
This commit is contained in:
parent
de30887234
commit
e39b216212
10 changed files with 155 additions and 3 deletions
11
layouts/partials/copyright-modal.html
Normal file
11
layouts/partials/copyright-modal.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<div class="copyright modal hidden">
|
||||
{{ with .Site.GetPage "copyright" }}
|
||||
<div class="modal-bar">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<button class="close-modal-btn" alt='{{ T "close" }}' title='{{ T "close" }}' name='{{ T "close" }}'><i class='{{ .Params.close_icon }}'></i></button>
|
||||
</div>
|
||||
<div class="modal-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue