Merge branch 'dev'
This commit is contained in:
commit
78d8120bf8
11
README.md
11
README.md
|
@ -1,10 +1,9 @@
|
|||
This is the source code for the website [queerscriptors.org](https://queerscriptors.org). It uses [lektor](https://getlektor.com)
|
||||
|
||||
Some thoughs on nice-to-have:
|
||||
It is available from:
|
||||
|
||||
- As much as possible should be as easy as possible to edit for new people. Example: It should currently be easy to add new projects
|
||||
- JS not required.
|
||||
- [lab.encryptionin.space](https://lab.encryptionin.space/Queerscriptors/Queerscriptors.org) (canonical)
|
||||
- [github](https://github.com/queerscriptors/queerscriptors.org)
|
||||
- [gitlab](https://gitlab.com/queerscriptors/queerscriptors.org)
|
||||
|
||||
---
|
||||
|
||||
A good place to look at how to do stuff may be the Tor Projects websites: https://gitlab.torproject.org/tpo/web
|
||||
I am attempting to create this website without JavaScript.
|
||||
|
|
|
@ -14,7 +14,7 @@ translate = False
|
|||
|
||||
[fields.body]
|
||||
label = Body
|
||||
type = markdown
|
||||
type = string
|
||||
translate = True
|
||||
|
||||
[fields.join_title]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- Contact-->
|
||||
<section class="contact-section bg-black pb-3">
|
||||
<div class="contact-section bg-black pb-3">
|
||||
<div class="social d-flex justify-content-center pb-4">
|
||||
<a class="mx-2" href="https://twitter.com/queerscriptors" aria-label="twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a>
|
||||
<a class="mx-2" href="https://mastodon.encryptionin.space/@queerscriptors" aria-label="mastodon"><i class="fa fa-mastodon" aria-hidden="true"></i></a>
|
||||
|
@ -13,7 +13,7 @@
|
|||
<div class="social d-flex justify-content-center text-white-50">
|
||||
<p>queer@queerscriptors.org</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<!-- Footer-->
|
||||
<footer class="footer bg-black small text-center text-white-50 pt-0"><div class="container px-4 px-lg-5">Copyright © Queerscriptors 2022</div></footer>
|
||||
{#<!-- Bootstrap core JS-->
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
{% include 'masterhead.html' %}
|
||||
{% include 'joinus.html' %}
|
||||
<!-- Projects-->
|
||||
<section class="projects-section bg-light" id="projects">
|
||||
<div class="projects-section bg-light" id="projects">
|
||||
<div class="container px-4 px-lg-5">
|
||||
{% for id, item in bag('featured').items() %}
|
||||
{% set image = item.path+'main.jpg' %}
|
||||
<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 {% if item.sort_key|int % 2 == 0 or item.sort_key|int == 0 %} order-lg-first {% endif %} ">
|
||||
<div class="bg-black text-center h-100 project">
|
||||
<div class="d-flex h-100">
|
||||
|
@ -22,5 +22,5 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<!-- Join us -->
|
||||
<section class="about-section text-center" id="join">
|
||||
<div class="about-section text-center" id="join">
|
||||
<div class="about-section-text container px-4 px-lg-5">
|
||||
<div class="row gx-4 gx-lg-5 justify-content-center">
|
||||
<h1 class="display-3 text-black mb-4">{{ this.join_title }}</h1>
|
||||
<h2 class="display-3 text-black mb-4">{{ this.join_title }}</h2>
|
||||
<div class="col-6 col-lg-3 d-grid gap-2 mx-auto">
|
||||
<a href="https://discord.gg/tzbXdkxWYF" class="btn btn-primary"><i class="fa fa-discord" aria-hidden="true"></i> Discord</a>
|
||||
<a href="https://littleroot.net/weblate/" class="btn btn-primary"><i class="fa fa-language" aria-hidden="true"></i> Weblate</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ this.alt }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="{{ _("A community of people that translate queer games") }}" />
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="{{ _("A community of people that translate queer games") }}">
|
||||
|
||||
<!-- Open Graph Protocol -->
|
||||
<meta name="og:title" content="{% block ogptitle %}Queerscriptors{% endblock %}" />
|
||||
<meta name="og:type" content="website" />
|
||||
<meta name="og:image" content="{{ this.ogpimage|url(absolute=True,external=True) }}" />
|
||||
<meta name="og:url" content="{{ '.'|url(absolute=True,external=True) }}" />
|
||||
<meta name="og:description" content="{% block ogpdesc %}{{ _("A community of people that translate queer games") }}{% endblock %}" />
|
||||
<meta name="og:title" content="{% block ogptitle %}Queerscriptors{% endblock %}">
|
||||
<meta name="og:type" content="website">
|
||||
<meta name="og:image" content="{{ this.ogpimage|url(absolute=True,external=True) }}">
|
||||
<meta name="og:url" content="{{ '.'|url(absolute=True,external=True) }}">
|
||||
<meta name="og:description" content="{% block ogpdesc %}{{ _("A community of people that translate queer games") }}{% endblock %}">
|
||||
<!-- Twitter card (OGP equv) -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:domain" content="queerscriptors.org" />
|
||||
<meta name="twitter:url" content="{{ '.'|url(absolute=True,external=True) }}" />
|
||||
<meta name="twitter:title" content="{% block twittertitle %}Queerscriptors{% endblock %}" />
|
||||
<meta name="twitter:description" content="{% block twitterdesc %}{{ _("A community of people that translate queer games") }}{% endblock %}" />
|
||||
<meta name="twitter:image" content="{{ this.ogpimage|url(absolute=True,external=True) }}" />
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:domain" content="queerscriptors.org">
|
||||
<meta name="twitter:url" content="{{ '.'|url(absolute=True,external=True) }}">
|
||||
<meta name="twitter:title" content="{% block twittertitle %}Queerscriptors{% endblock %}">
|
||||
<meta name="twitter:description" content="{% block twitterdesc %}{{ _("A community of people that translate queer games") }}{% endblock %}">
|
||||
<meta name="twitter:image" content="{{ this.ogpimage|url(absolute=True,external=True) }}">
|
||||
|
||||
<title>{{ this.title }}</title>
|
||||
<link rel="icon" type="image/svg+xml" href="{{ '/images/favicon.svg'|asseturl }}" />
|
||||
<link rel="icon" type="image/png" href="{{ '/images/favicon.png'|asseturl }}" />
|
||||
<link rel="icon" type="image/svg+xml" href="{{ '/images/favicon.svg'|asseturl }}">
|
||||
<link rel="icon" type="image/png" href="{{ '/images/favicon.png'|asseturl }}">
|
||||
<!-- Fork Awesome-->
|
||||
<link href="{{ '/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet" />
|
||||
<link href="{{ '/css/fork-awesome.min.css'|asseturl }}" rel="stylesheet">
|
||||
<!-- Fonts-->
|
||||
<link href="{{ '/css/fonts.min.css'|asseturl }}" rel="stylesheet" />
|
||||
<link href="{{ '/css/fonts.min.css'|asseturl }}" rel="stylesheet">
|
||||
<!-- Core theme CSS (includes Bootstrap)-->
|
||||
<link href="{{ '/css/styles.css'|asseturl }}" rel="stylesheet" />
|
||||
<link href="{{ '/css/styles.css'|asseturl }}" rel="stylesheet">
|
||||
</head>
|
||||
<body id="page-top">
|
||||
{% block page %}{% endblock %}
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<h3 class="my-3">{{ _("Weblate status") }}</h3>
|
||||
<a href="https://littleroot.net/weblate/engage/{{ this.weblate }}/">
|
||||
<img src="https://littleroot.net/weblate/widgets/{{ this.weblate }}/-/multi-auto.svg" alt="Translation status" />
|
||||
<a href="https://littleroot.net/weblate/engage/{{ this.weblate }}/{% if this.alt != "en" %}{{this.alt}}/{% endif %}">
|
||||
<img src="https://littleroot.net/weblate/widgets/{{ this.weblate }}/{% if this.alt != "en" %}{{this.alt}}{% else %}-{% endif %}/multi-auto.svg" alt="Translation status">
|
||||
</a>
|
||||
<div class="mt-3 text-center">
|
||||
<a href="https://littleroot.net/weblate/engage/{{ this.weblate }}/" class="btn btn-primary mb-2"><i class="fa fa-language" aria-hidden="true"></i> {{ _("Translate") }}</a>
|
||||
|
|
Loading…
Reference in a new issue