Skip to content

Commit

Permalink
custom layout
Browse files Browse the repository at this point in the history
  • Loading branch information
idesmukh committed Jun 2, 2024
1 parent c6c725b commit 07615a7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<title>{{ page.title | default: site.title | escape }}</title>
<meta name="description" content="{{ page.description | default: site.description | escape }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
</head>
<body>
<header class="site-header">
<div class="wrapper">
<h1 class="site-title">{{ site.title }}</h1>
<p class="site-description">{{ site.description }}</p>
</div>
</header>
<main class="page-content">
<div class="wrapper">
{{ content }}
</div>
</main>
<footer class="site-footer">
<div class="wrapper">
<p>
{% if site.github %}<a href="{{ site.github.repository_url }}">View source</a> on GitHub. {% endif %}
by <span class="author">{{ site.author }}</span>
</p>
</div>
</footer>
</body>
</html>

0 comments on commit 07615a7

Please # to comment.