Skip to content

Commit 9ccf9bc

Browse files
fix about page styling (#143)
* fixed:about * Update content/theme/templates/menu.html Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c6e5c35 commit 9ccf9bc

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

content/theme/templates/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- nav bar -->
22
<nav class="navbar navbar-expand-lg navbar-dark bg-dark" aria-label="Fifth navbar example">
33
<div class="container-fluid">
4-
<a class="navbar-brand" href="/blog"><img src="/blog/images/logo_original4x.png" style="height: 32px;"/> Apache DataFusion Blog</a>
4+
<a class="navbar-brand" href="/blog/"><img src="/blog/images/logo_original4x.png" style="height: 32px;"/> Apache DataFusion Blog</a>
55
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarADP" aria-controls="navbarADP" aria-expanded="false" aria-label="Toggle navigation">
66
<span class="navbar-toggler-icon"></span>
77
</button>

content/theme/templates/page.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{% block head %}
2+
<!doctype html>
3+
<html class="no-js" lang="en" dir="ltr">
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="x-ua-compatible" content="ie=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>{{ page.title }} - {{SITENAME}}</title>
9+
{% include "styles.html" %}
10+
</head>
11+
<body class="d-flex flex-column h-100">
12+
<main class="flex-shrink-0">
13+
{% include "menu.html" %}
14+
15+
<div id="contents">
16+
<div class="bg-white p-4 p-md-5 rounded">
17+
<div class="row justify-content-center">
18+
<div class="col-12 col-md-8 main-content">
19+
<h1>{{ page.title }}</h1>
20+
{{ page.content }}
21+
</div>
22+
</div>
23+
</div>
24+
</div>
25+
26+
{% include "footer.html" %}
27+
</main>
28+
</body>
29+
</html>
30+
{% endblock %}

0 commit comments

Comments
 (0)