Merge pull request 'production' (#13) from production into main
This commit is contained in:
commit
91f17e7702
@ -439,6 +439,7 @@ document.getElementById('preview_poster').src = `/b/competition/${competition.po
|
|||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
// @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
|
// @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
|
||||||
|
const competition = JSON.parse({{competition|tojson}})
|
||||||
var type = competition.type_;
|
var type = competition.type_;
|
||||||
|
|
||||||
function toggleType(clickedId) {
|
function toggleType(clickedId) {
|
||||||
|
|||||||
@ -58,16 +58,14 @@
|
|||||||
<h2>{{ data.post.title }}</h2>
|
<h2>{{ data.post.title }}</h2>
|
||||||
<h2>{{ data.post.author }}</h2>
|
<h2>{{ data.post.author }}</h2>
|
||||||
<h2>{{ data.post.grade }}</h2>
|
<h2>{{ data.post.grade }}</h2>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
{% for img in data.post.medias %}
|
{% for img in data.post.medias %}
|
||||||
<img src="https://avtopost.kultmost.ru/b/posts/{{ img }}" alt="Gallery Image" crossorigin="anonymous" fetchpriority="high" loading="eager">
|
<img src="https://avtopost.kultmost.ru/b/posts/{{ img }}" alt="Gallery Image" crossorigin="anonymous" fetchpriority="high" loading="eager">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<span>На Культмост добавлена новая картина 🖼</span>
|
<span>На Культмост добавлена новая картина 🖼</span>
|
||||||
<!-- : <a href="https://kultmost.ru/post/{{ data.post.id }}">Посмотреть</a> -->
|
: <a href="https://kultmost.ru/post/{{ data.post._id }}">Посмотреть</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user