-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.abell
52 lines (44 loc) · 1.82 KB
/
index.abell
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
{{
import config from './config.js';
import globalCSSInlined from './global.css?inline';
import darkModeToggle from './components/dark-mode-toggle.abell';
import articlesPreview from './components/articles-preview.abell';
import footer from './components/footer.abell';
}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="view-transition" content="same-origin" />
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@{{ config.twitter }}" />
<meta property="og:title" content="{{ config.siteName }}" />
<meta property="og:description" content="{{ config.siteName }}" />
<meta property="og:image" content="https://res.cloudinary.com/saurabhdaware/image/upload/g_center,w_1100,c_fit,co_rgb:000000,l_text:Work Sans_80_600:{{ config.siteName }}/v1696316938/abell/abell-starter-minima-cover.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Welcome to the {{ config.siteName }}, A blog by {{ config.name }}" />
<link rel="preload" href="/fonts/latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin />
<title>{{ config.siteName }}</title>
<style>
{{ globalCSSInlined }}
</style>
</head>
<body>
<div class="content-width">
{{ darkModeToggle() }}
<div class="header">
<h1>{{ config.siteName }}</h1>
<div class="header-bio">
Abell Minima is a starter blog built with Abell. <br/>This is an official template and is designed
and maintained by
<a href="https://twitter.com/{{ config.twitter }}">@{{ config.twitter }}</a>.
</div>
</div>
<main>
{{ articlesPreview({ content: props.content }) }}
</main>
{{ footer() }}
</div>
</body>
</html>