Skip to content

Commit

Permalink
Create New Code of Conduct Page (#4600)
Browse files Browse the repository at this point in the history
* Created new code of conduct page

* Removed/added comments

* adjusted padding
  • Loading branch information
bootcamp-brian authored May 18, 2023
1 parent 4702084 commit 053b996
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
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 %}

0 comments on commit 053b996

Please sign in to comment.