-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_template.html
More file actions
205 lines (174 loc) · 8.07 KB
/
index_template.html
File metadata and controls
205 lines (174 loc) · 8.07 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Site Info -->
<title>{{ name }} - Portfolio</title>
<meta name="description" content="{{ name }} - {{ summary }}">
<meta name="author" content="{{ name }}">
<!-- Open Graph Tags: The title of the page for social media sharing. It can match the title tag or be more descriptive. -->
<meta property="og:title" content="{{ name }}">
<!-- Open Graph Tags: Typically set to "website" for static sites or "article" for content-heavy pages. -->
<meta property="og:type" content="website">
<!-- Open Graph Tags: The URL of the page, used to ensure link previews resolve to the correct page. -->
<!-- base_url -->
<meta property="og:url" content="{{ base_url }}/index.html">
<!-- Open Graph Tags: URL of an image that represents the page. Useful for link previews. -->
<!-- base_url -->
<meta property="og:image" content="{{ base_url }}/{{ image_path }}">
<!-- Open Graph Tags: Provides an alternative text for the image to improve accessibility. -->
<meta property="og:image:alt" content="{{ name }} Profile Image">
<!-- Preconnect for Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Custom Font -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
rel="stylesheet">
<!-- Stylesheet -->
<link rel="stylesheet" href="css/modern_normalize.css" />
<link rel="stylesheet" href="css/html5bp.css">
<link rel="stylesheet" href="css/main.css">
<!-- Set a theme color that matches your website's primary color -->
<meta name="theme-color" content="#fafafa">
<!-- Favicon for all browsers -->
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<!-- Apple touch icon for iOS devices -->
<link rel="apple-touch-icon" sizes="180x180" href="/icon.png">
<!-- Web app manifest for Progressive Web Apps -->
<link rel="manifest" href="/site.webmanifest">
<!-- Add an icon library -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Content Security Policy: Uncomment to enhance security by restricting where content can be loaded from (useful for preventing certain attacks like XSS). Update if adding external sources (e.g., Google Fonts, Bootstrap CDN, analytics, etc). -->
<!-- <meta http-equiv="Content-Security-Policy" content=" default-src 'self'; script-src 'self' code.jquery.com; style-src 'self' fonts.googleapis.com; font-src fonts.gstatic.com; img-src 'self' images.examplecdn.com; "> -->
</head>
<body>
<header class="page-header">
<div class="container">
<div class="header-top flex-responsive">
<!-- image_path -->
{% if image_path %}
<img class="header-image"
width="256"
height="256"
src="{{ image_path }}"
alt="{{ name }} Profile Image" />
{% endif %}
<div class="header-info">
<!-- name -->
<h1>{{ name }}</h1>
<!-- label -->
{% if label %}<h2 class="header-label">{{ label }}</h2>{% endif %}
<nav>
<ul class="inline-list flex-responsive">
<li><a href="index.html">Home</a></li>
<li><a href="resume.html">Resume</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="tech-stack.html">Tech Stack</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<!-- contact -->
{% if contact.email or contact.phone or contact.location %}
<address>
<ul class="inline-list flex-responsive">
{% if contact.email %}
<li>
<a href="mailto:{{ contact.email }}">{{ contact.email }}</a>
</li>
{% endif %}
{% if contact.phone %}
<li>
<a href="tel:+{{ contact.phone | replace('-', '') }}">{{ contact.phone }}</a>
</li>
{% endif %}
{% if contact.location %}<li>{{ contact.location }}</li>{% endif %}
</ul>
</address>
{% endif %}
<!-- social_links -->
{% if social_links %}
<ul class="inline-list flex-responsive">
{% for link in social_links %}
<li>
<a href="{{ link.url }}"
rel="noopener noreferrer"
aria-label="{{ link.label }}"
class="link-with-icon">
<span class="social-icon-wrapper">
{% if link.svg_data %}{{ link.svg_data | safe }}{% endif %}
</span>
{{ link.label }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
<!-- summary -->
<!-- {% if summary %}<p class="header-summary">{{ summary }}</p>{% endif %} -->
</div>
</div>
</div>
</header>
<div class="page-content">
<div class="container">
<main>
<!-- About Me Section -->
<section>
<h2 class="section-heading">About Me</h2>
{% for item in about_me_full_prose %}
{% if item.type == 'subheading' %}
<h4 class="sub-heading">{{ item.content }}</h4>
{% else %}
<p>{{ item.content | markdown_to_html | safe }}</p>
{% endif %}
{% endfor %}
</section>
</main>
<!-- Sidebar Section -->
<aside>
<!-- Current Highlights Section -->
<section>
<h2 class="section-heading">At a Glance</h2>
<div class="competency-item-sidebar">
<p><strong>Currently:</strong><br>{{ current_highlights.role }} at {{ current_highlights.institution }}</p>
<hr class="sidebar-hr">
<p><strong>Education:</strong><br>{{ current_highlights.education }}</p>
<hr class="sidebar-hr">
<p><strong>Featured Project:</strong><br><a href="posts/{{ current_highlights.project_slug }}.html">{{ current_highlights.project_title }}</a></p>
</div>
</section>
<!-- Core Competencies Section -->
{% if core_competencies %}
<section>
<h2 class="section-heading">Core Competencies</h2>
<div class="competencies-sidebar">
{% for competency in core_competencies %}
<article class="competency-item-sidebar">
<h3 class="competency-title-sidebar">{{ competency.title }}</h3>
<p class="competency-description-sidebar">{{ competency.description }}</p>
</article>
{% endfor %}
</div>
</section>
{% endif %}
</aside>
</div>
</div>
<footer class="page-footer">
<div class="container">
<p>© {{ current_year }} {{ name }}. All rights reserved.</p>
</div>
</footer>
<!-- ===== Style Switcher Start ===== -->
<div class="theme-toggle-container">
<div id="theme-toggle-icon" class="theme-icon">
<i class="fas"></i>
</div>
</div>
<!-- ===== Style Switcher End ===== -->
<script src="js/app.js"></script>
</body>
</html>