Restructure template files
This commit is contained in:
parent
a9e935ed0e
commit
d7d3733ec3
|
@ -1,16 +1,14 @@
|
||||||
<!-- Contact-->
|
<!-- Contact-->
|
||||||
<section class="contact-section bg-black">
|
<section class="contact-section bg-black">
|
||||||
<div class="social d-flex justify-content-center">
|
<div class="social d-flex justify-content-center">
|
||||||
<a class="mx-2" href="https://twitter.com/queerscriptors"><i class="fab fa-twitter"></i></a>
|
<a class="mx-2" href="https://twitter.com/queerscriptors"><i class="fab fa-twitter"></i></a>
|
||||||
<a class="mx-2" href="https://discord.gg/tzbXdkxWYF"><i class="fab fa-discord"></i></a>
|
<a class="mx-2" href="https://discord.gg/tzbXdkxWYF"><i class="fab fa-discord"></i></a>
|
||||||
<a class="mx-2" href="https://lab.encryptionin.space/hackerncoder/Queerscriptors"><i class="fab fa-git"></i></a>
|
<a class="mx-2" href="https://lab.encryptionin.space/hackerncoder/Queerscriptors"><i class="fab fa-git"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<!-- Footer-->
|
<!-- Footer-->
|
||||||
<footer class="footer bg-black small text-center text-white-50"><div class="container px-4 px-lg-5">Copyright © Queerscriptors 2022</div></footer>
|
<footer class="footer bg-black small text-center text-white-50"><div class="container px-4 px-lg-5">Copyright © Queerscriptors 2022</div></footer>
|
||||||
<!-- Bootstrap core JS-->
|
<!-- Bootstrap core JS-->
|
||||||
<script src="{{ '/js/bootstrap.bundle.min.js'|url }}"></script>
|
<script src="{{ '/js/bootstrap.bundle.min.js'|url }}"></script>
|
||||||
<!-- Core theme JS-->
|
<!-- Core theme JS-->
|
||||||
<script src="{{ '/js/scripts.js'|url }}"></script>
|
<script src="{{ '/js/scripts.js'|url }}"></script>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
|
@ -6,36 +6,15 @@
|
||||||
<div class="container px-4 px-lg-5">
|
<div class="container px-4 px-lg-5">
|
||||||
{% for project in projects %}
|
{% for project in projects %}
|
||||||
{% set image = project.attachments.images.first() %}
|
{% set image = project.attachments.images.first() %}
|
||||||
{% if project.type %}
|
|
||||||
<!-- Project One Row-->
|
|
||||||
<div class="row gx-0 mb-5 mb-lg-0 justify-content-center">
|
|
||||||
<div class="col-lg-6"><img class="img-fluid" src="{{ image|url }}" alt="project image" /></div>
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<div class="bg-black text-center h-100 project">
|
|
||||||
<div class="d-flex h-100">
|
|
||||||
<div class="project-text w-100 my-auto text-center text-lg-left">
|
|
||||||
<h4 class="text-white">{{ project.title }}</h4>
|
|
||||||
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
|
||||||
<hr class="d-none d-lg-block mb-0 ms-0" />
|
|
||||||
<a href="https://littleroot.net/weblate/engage/{{project.weblate}}/">
|
|
||||||
<img src="https://littleroot.net/weblate/widgets/{{project.weblate}}/-/svg-badge.svg" alt="Translation status" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<!-- Project Two Row-->
|
|
||||||
<div class="row gx-0 mb-5 mb-md-0 justify-content-center">
|
<div class="row gx-0 mb-5 mb-md-0 justify-content-center">
|
||||||
<div class="col-lg-6"><img class="img-fluid" src="{{ image|url }}" alt="project image" /></div>
|
<div class="col-lg-6"><img class="img-fluid" src="{{ image|url }}" alt="project image" /></div>
|
||||||
<div class="col-lg-6 order-lg-first">
|
<div class="col-lg-6 {% if project.type %} order-lg-first {% endif %} ">
|
||||||
<div class="bg-black text-center h-100 project">
|
<div class="bg-black text-center h-100 project">
|
||||||
<div class="d-flex h-100">
|
<div class="d-flex h-100">
|
||||||
<div class="project-text w-100 my-auto text-center text-lg-right">
|
<div class="project-text w-100 my-auto text-center">
|
||||||
<h4 class="text-white">{{ project.title }}</h4>
|
<h4 class="text-white">{{ project.title }}</h4>
|
||||||
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
<p class="mb-0 text-white-80">{{ project.body }}</p>
|
||||||
<hr class="d-none d-lg-block mb-0 me-0" />
|
<hr class="d-none d-lg-block mb-0" />
|
||||||
<a href="https://littleroot.net/weblate/engage/{{project.weblate}}/">
|
<a href="https://littleroot.net/weblate/engage/{{project.weblate}}/">
|
||||||
<img src="https://littleroot.net/weblate/widgets/{{project.weblate}}/-/svg-badge.svg" alt="Translation status" />
|
<img src="https://littleroot.net/weblate/widgets/{{project.weblate}}/-/svg-badge.svg" alt="Translation status" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -44,7 +23,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
{% include 'meta.html' %}
|
{% include 'meta.html' %}
|
||||||
|
<body id="page-top">
|
||||||
{% block page %}
|
{% block page %}
|
||||||
{% include 'masterhead.html' %}
|
{% include 'masterhead.html' %}
|
||||||
{% include 'about.html' %}
|
{% include 'about.html' %}
|
||||||
{% block projects %}{% endblock %}
|
{% block projects %}{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% include 'footer.html' %}
|
{% include 'footer.html' %}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<head>
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||||
<meta name="description" content="{{ this.meta_desc }}" />
|
<meta name="description" content="{{ this.meta_desc }}" />
|
||||||
|
@ -13,5 +11,4 @@
|
||||||
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" />
|
||||||
<!-- Core theme CSS (includes Bootstrap)-->
|
<!-- Core theme CSS (includes Bootstrap)-->
|
||||||
<link href="{{ '/css/styles.css'|asseturl }}" rel="stylesheet" />
|
<link href="{{ '/css/styles.css'|asseturl }}" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
<body id="page-top">
|
|
||||||
|
|
Loading…
Reference in a new issue