Skip to content

Commit

Permalink
Added a layout for Github Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienGardeur committed Apr 18, 2024
1 parent 5932939 commit bd0ebdd
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ A [Test App](https://github.com/readium/swift-toolkit/tree/develop/TestApp) demo

## License

Readium Mobile is available under a [BSD-3 license](https://github.com/readium/mobile/blob/main/LICENSE).
Readium Mobile is available under a [BSD-3 license](LICENSE).
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">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

{% seo %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
<style>
.rfc {
color: #d55;
font-variant: small-caps;
font-style: normal;
font-weight: normal;
}
</style>
</head>
<body>
<div class="container-lg px-3 my-5 markdown-body">

<a href="https://readium.org">
<img src="https://readium.org/assets/logos/readium-logo.png" height="100" alt="Readium Logo">
</a>

{{ content }}

</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
<script>anchors.add();</script>
</body>
</html>

0 comments on commit bd0ebdd

Please sign in to comment.