Skip to content

Commit 4a6864b

Browse files
committed
add new layout with sidebar
1 parent 79420c7 commit 4a6864b

File tree

4 files changed

+60
-24
lines changed

4 files changed

+60
-24
lines changed

_includes/header.html

+1-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
1-
<!DOCTYPE html>
2-
<!--
3-
Hyperspace by HTML5 UP
4-
html5up.net | @ajlkn
5-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6-
-->
7-
<html>
8-
<head>
9-
<title>{% if page.url != '/index.html' %}{{ page.title }} - {% endif %}{{ site.title }}</title>
10-
<meta charset="utf-8" />
11-
<meta name="description" content="{{ page.description|strip_html }}">
12-
<meta name="keywords" content="fano, web application, framework, pascal, programming, language, free pascal">
13-
<meta name="robots" content="index, follow"/>
14-
<meta property="og:title" content="{{ page.title }}"/>
15-
<meta property="og:site_name" content="{{ site.title }}"/>
16-
<meta property="og:url" content="{{ site.url }}{{ page.url }}"/>
17-
<meta property="og:description" content="{{ page.description }}"/>
18-
<meta property="og:type" content="website"/>
19-
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
20-
<link rel="shortcut icon" href="{{ "/assets/images/favicon.png" | relative_url }}" type="image/x-icon">
21-
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
22-
<noscript><link rel="stylesheet" href="{{ "/assets/css/noscript.css" | relative_url }}" /></noscript>
23-
</head>
24-
<body class="is-preload">
1+
{% include plain.header.html %}
252

263
<!-- Header -->
274
<header id="header">

_includes/plain.header.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<!--
3+
Hyperspace by HTML5 UP
4+
html5up.net | @ajlkn
5+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6+
-->
7+
<html>
8+
<head>
9+
<title>{% if page.url != '/index.html' %}{{ page.title }} - {% endif %}{{ site.title }}</title>
10+
<meta charset="utf-8" />
11+
<meta name="description" content="{{ page.description|strip_html }}">
12+
<meta name="keywords" content="fano, web application, framework, pascal, programming, language, free pascal">
13+
<meta name="robots" content="index, follow"/>
14+
<meta property="og:title" content="{{ page.title }}"/>
15+
<meta property="og:site_name" content="{{ site.title }}"/>
16+
<meta property="og:url" content="{{ site.url }}{{ page.url }}"/>
17+
<meta property="og:description" content="{{ page.description }}"/>
18+
<meta property="og:type" content="website"/>
19+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
20+
<link rel="shortcut icon" href="{{ "/assets/images/favicon.png" | relative_url }}" type="image/x-icon">
21+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
22+
<noscript><link rel="stylesheet" href="{{ "/assets/css/noscript.css" | relative_url }}" /></noscript>
23+
</head>
24+
<body class="is-preload">

_layouts/contentsidebar.html

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{% include plain.header.html %}
2+
3+
<!-- Sidebar -->
4+
<section id="sidebar">
5+
<div class="inner">
6+
<nav>
7+
<ul>
8+
<li><a href="#intro">Intro</a></li>
9+
<li><a href="#feature">Features</a></li>
10+
<li><a href="/getting-started">Getting Started</a></li>
11+
<li><a href="/documentation">Documentation</a></li>
12+
</ul>
13+
</nav>
14+
</div>
15+
</section>
16+
17+
<!-- Wrapper -->
18+
<div id="wrapper">
19+
<!-- Main -->
20+
<section id="main" class="wrapper">
21+
<div class="inner">
22+
{{ content }}
23+
</div>
24+
</section>
25+
</div>
26+
27+
{% include footer.html %}

documentation/index.md

+8
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ description: Documentation and developer's resources for Fano Framework, web app
1313

1414

1515
## Dependency Container
16+
17+
## Request
18+
19+
## Response
20+
21+
## Routing
22+
23+
## Error Handling

0 commit comments

Comments
 (0)