Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create New Code of Conduct Page #4600

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions _layouts/default-markdown.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">
{% include head.html %}
<body>
<div id="app">
<a id="skip-link" class="sr-only-focusable" href="#content">
<!-- PLEASE DO NOT REMOVE, THIS <a> TAG EXISTS FOR ACCESSIBILITY REASONS -->
Skip to main content.
</a>
{%- include header.html -%}
<main role="main" id='content-markdown'>
{{ content | markdownify }}
</main>
{%- include footer.html -%}
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.js"></script>
<script src="{{ '/assets/js/api-actionnetwork.js' | absolute_url }}"></script>
</div>
</body>
</html>
5 changes: 5 additions & 0 deletions _sass/layouts/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@
.content-section {
padding: 32px 16px;
}

// This is to provide padding for readability to the content in the default-markdown.html layout
#content-markdown {
padding: 200px 100px 300px 100px;
}
8 changes: 8 additions & 0 deletions pages/code-of-conduct.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default-markdown
title: Code of Conduct
permalink: /code-of-conduct/
---

<!-- Content copied from the README.md file from hackforla/codeofconduct (which is formatted with markdown) -->
{% include code-of-conduct-page/CODEOFCONDUCT.md %}