-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp-project-post.html
61 lines (55 loc) · 1.95 KB
/
temp-project-post.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>B.Bee | {{ metadata.title }}</title>
<link rel="stylesheet" href="/assets/css/code-highlighting.css">
<link rel="stylesheet" href="/assets/css/post-style.css">
<link rel="stylesheet" href="/assets/css/header-footer-style.css">
<script src="/assets/js/toc.js"></script>
</head>
<body>
{% include "./header.html" %}
<div class="post-container">
<!-- Image Section -->
<section class="post-image-section">
<img src="{{ metadata.main_image }}" alt="{{ metadata.title }}">
<div class="image-overlay">
<h1>{{ metadata.title }}</h1>
</div>
</section>
<!-- Metadata -->
<div class="post-metadata">
<div class="tags">
{% for tag in metadata.tags %}
<span class="post-tags">{{ tag }}</span>
{% endfor %}
</div>
<span class="post-date">작성일 | {{ metadata.date }}</span>
</div>
<div class="metadata-divider"></div>
<!-- Content Section -->
<div class="content-container">
<!-- Main Content -->
<div class="post-content">
{{ content | safe }}
</div>
<!-- TOC -->
<div class ="toc-area">
<div class="toc-wrapper">
<h3>Table of Contents</h3>
<ul class="toc-list">
{% for header in toc_headers %}
<li data-target="{{ header.id }}" style="margin-left: {{ header.level * 10 }}px;">
{{ header.text }}
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
{% include "./footer.html" %}
</body>
</html>