design fixes, hiring subpages, and hiring categories added
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
{% include "partials/header.html" %}
|
||||
|
||||
{%- set section = get_section(path="_index.md") %}
|
||||
<body>
|
||||
|
||||
<div id="content">
|
||||
|
4
templates/hiring_categories/list.html
Normal file
4
templates/hiring_categories/list.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{% extends "index.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock content %}
|
9
templates/hiring_categories/single.html
Normal file
9
templates/hiring_categories/single.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "index.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="pt-16">
|
||||
{{section}}
|
||||
</main>
|
||||
|
||||
{% endblock content %}
|
@@ -134,8 +134,8 @@
|
||||
<nav>
|
||||
<div id="learn" class="z-50 mt-16 sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0 hidden opacity-0 -translate-y-1 absolute inset-x-0 transform shadow-lg md:backdrop-blur lg:backdrop-blur xl:backdrop-blur">
|
||||
<div class="bg-white lg:bg-semi-white md:bg-semi-white xl:bg-semi-white">
|
||||
<div class="mx-8 px-4 py-4 sm:px-6 sm:py-6 lg:px-8 lg:py-8 xl:py-12">
|
||||
{{header_menu | replace(from="<br>", to="") | safe }}
|
||||
<div class="mx-8 lg:mx-20 xl:mx-20 px-4 py-4 sm:px-6 sm:py-6 lg:px-8 lg:py-8 xl:py-12">
|
||||
{{header_menu | safe }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
3
templates/partials/pageBox.html
Normal file
3
templates/partials/pageBox.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<h4>{{page.title}}</h4>
|
||||
<p>{{page.description}}</p>
|
||||
<p>Last updated: {{page.updated}}</p>
|
18
templates/section.html
Normal file
18
templates/section.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "_default/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<main class="pt-16">
|
||||
{{ section.content | safe}}
|
||||
<div class="mx-20 flex">
|
||||
{% for page in section.pages %}
|
||||
<div class="w-3/12 m-8" >
|
||||
{% include "partials/pageBox.html" %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
{% endblock content %}
|
@@ -4,7 +4,8 @@ Divides markdown into columns by splitting content using column identifier "|||"
|
||||
Creates equal width blocks in a flex row.
|
||||
|
||||
Parameters:
|
||||
- isLean: if an isLean variable is passed, the row doesn't have outer margins
|
||||
- style:
|
||||
- lean: if style is lean, the row doesn't have outer margins
|
||||
- bgPath: if bgPath is passed, the row has a full width background
|
||||
-->
|
||||
|
||||
@@ -20,11 +21,19 @@ Parameters:
|
||||
|
||||
{% set column_classes = "flex-1 lg:mx-8" %}
|
||||
|
||||
{% if isLean %}
|
||||
{% if style %}
|
||||
|
||||
{% if "lean" in style %}
|
||||
{% set classes = "relative flex flex-col lg:flex-row items-baseline w-full" %}
|
||||
{% set column_classes = "flex-1" %}
|
||||
{% endif %}
|
||||
|
||||
{% if "center" in style %}
|
||||
{% set classes = classes ~ " text-center" %}
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% set styles = "" %}
|
||||
|
||||
{% if bgPath %}
|
||||
|
Reference in New Issue
Block a user