zgodovina-fotografije/content/themes/aluo_foto_master-2/old/post copy 3.hbs

132 lines
6.8 KiB
Handlebars
Executable File

{{!< default}}
<button id="toggle-theme" class="theme-button">Toggle Theme</button>
<!-- Blog Header -->
<header class="blog-header {{#if @site.cover_image}} has-cover{{/if}}">
<div class="inner">
<a href="/content_index" class="back-button">
<img src="{{asset "images/back_arrow_2.svg"}}" alt="Back Button" />
</a>
<div class="box blog-box">
<!-- <h1 class="blog-name">{{@site.title}}</h1>
{{#if @site.description}}
<span class="blog-description">{{@site.description}}</span>
{{/if}}-->
<img src="{{asset "images/Naslov.png"}}" alt="Družba_kot_dokument-Dokumentarna_fotografija_do_leta_1945" />
</div>
</div>
</header>
<!-- Sticky Menu Bar -->
<nav class="portal-menu">
<ul>
{{#get "posts" order="published_at asc" limit="all"}}
{{#foreach posts}}
{{#if feature_image_caption}}
<li>
<a href="#{{slug}}" class="sh-scroll">
<div class="year-feature-image-caption">{{feature_image_caption}}</div>
</a>
</li>
{{/if}}
{{/foreach}}
{{/get}}
</ul>
</nav>
<!-- Index Page Content -->
<div id="index" class="container">
<main class="content" role="main">
<div class="layout-wrapper">
<div class="content-section">
{{#get "posts" order="published_at asc" limit="all"}}
{{#foreach posts}}
<article id="{{slug}}" class="{{post_class}}">
<div class="inner post-content-container">
<div class="post-text-section">
<div class="box post-box">
<h1 class="post-title"><a href="{{url}}">{{{title}}}</a></h1>
<div class="post-content">
{{{content}}}
{{!-- Disqus Comments --}}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{url absolute="true"}}';
this.page.identifier = '{{id}}';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://{{@custom.disqus_shortname}}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the comments powered by Disqus.</noscript>
</div>
</div>
</div>
<div class="post-image-section {{@config.custom.post_image_style}}">
<!-- Images will be moved here by JavaScript -->
</div>
</div>
</article>
{{/foreach}}
{{/get}}
</div>
</div>
</main>
</div>
<div id="context-menu" style="display: none; position: absolute; background: #fff; border: 1px solid #ccc; padding: 10px; z-index: 1000;">
<button id="delete-highlight">Delete</button>
</div>
<!-- Page Wrapper for Text Content -->
<section class="page-wrapper">
<div class="hidden-custom-variable"></div>
<div id="overlay" class="overlay"></div>
<div id="toolbar" class="toolbar hidden-toolbar">
<div id="toolbar-handle" class="toolbar-handle"></div>
<button id="highlight" title="Highlight">{{> "icons/icon-highlight"}}</button>
<button id="strikethrough" title="Strikethrough">{{> "icons/icon-strikethrough"}}</button>
<button id="bold" title="Bold">{{> "icons/icon-bold"}}</button>
<button id="italic" title="Italic">{{> "icons/icon-italic"}}</button>
<button id="underline" title="Underline">{{> "icons/icon-underline"}}</button>
<button id="link" title="Link">{{> "icons/icon-link"}}</button>
<button id="unlink" title="Unlink">{{> "icons/icon-unlink"}}</button>
<button id="clear-storage" title="Clear Storage">{{> "icons/icon-clear"}}</button>
<button id="toggleFormattingButton">Toggle Formatting</button>
<!-- Add export button -->
<button id="export-pdf" title="Export as PDF">Export PDF</button>
</div>
<div id="show-toolbar-arrow" class="hidden-arrow show-arrow">&larr;</div>
<div class="content">
{{{body}}}
</div>
</section>
<script defer src="{{asset "js/toolbar.js"}}"></script>
<script defer src="{{asset "js/adjust_image.js"}}"></script>
<script defer src="{{asset "js/toggle_callout.js"}}"></script>
<script defer src="{{asset "js/lightbox.js"}}"></script>
<script defer src="{{asset "js/more.js"}}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/2.3.4/purify.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.3.3/html2canvas.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.4.0/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.9.2/html2pdf.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/docx/7.0.3/docx.min.js"></script>
<!-- Include jsPDF library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<!-- Include the converted font -->
<script src="/Users/oskarkandare/Downloads/fira-sans-v8-latin-500-normal.js"></script> <!-- Replace with the correct path -->
<script src="{{asset "js/content_index.js"}}"></script>
<script src="{{asset "js/pdf_export.js"}}"></script>
<script src="{{asset "js/toggle_theme.js"}}"></script>
{{ghost_foot}}