mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
examples: added homepage + categories pages + added CSS (similar to wiki)
This commit is contained in:
committed by
Ryan C. Gordon
parent
9784e10a75
commit
56da4e81d8
30
examples/template-category.html
Normal file
30
examples/template-category.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>@project_name@ Examples: @category_name@</title>
|
||||
<link rel="stylesheet" type="text/css" href="/examples.css" />
|
||||
<style>
|
||||
main > h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="/">SDL Examples</a>
|
||||
</header>
|
||||
<main>
|
||||
<nav class="breadcrumb">
|
||||
<ul>
|
||||
<li><a href="/">@project_name@</a></li>
|
||||
<li><a href="/@category_name@">@category_name@</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<h1>@project_name@ examples: @category_name@</h1>
|
||||
<div class="list">@examples_list_html@</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user