Browse Source

First commit

main
HackerNCoder 4 months ago
commit
b3fde55b70
  1. 20
      BUILDINGBLOCKS.md
  2. 4
      README.md
  3. 11713
      assets/css/styles.css
  4. BIN
      assets/images/bg-masthead.jpg
  5. BIN
      assets/images/bg-signup.jpg
  6. BIN
      assets/images/favicon.ico
  7. BIN
      assets/images/ipad.png
  8. 8
      assets/images/prideflag.svg
  9. 7
      assets/js/bootstrap.bundle.min.js
  10. 5
      assets/js/fontawesome.js
  11. 54
      assets/js/scripts.js
  12. 3
      babel.cfg
  13. 5
      configs/i18n.ini
  14. 11
      content/contents+en.lr
  15. 11
      content/contents+fr.lr
  16. 11
      content/contents.lr
  17. 7
      content/projects/butterflysoup/contents+en.lr
  18. 7
      content/projects/butterflysoup/contents+fr.lr
  19. 7
      content/projects/butterflysoup/contents.lr
  20. BIN
      content/projects/butterflysoup/image.jpg
  21. 3
      content/projects/contents+en.lr
  22. 3
      content/projects/contents+fr.lr
  23. 3
      content/projects/contents.lr
  24. 7
      content/projects/lucahboad/contents+en.lr
  25. 7
      content/projects/lucahboad/contents+fr.lr
  26. 7
      content/projects/lucahboad/contents.lr
  27. BIN
      content/projects/lucahboad/main.jpg
  28. BIN
      i18n/_compiled/en/LC_MESSAGES/contents.mo
  29. BIN
      i18n/_compiled/fr/LC_MESSAGES/contents.mo
  30. 74
      i18n/contents+en.po
  31. 63
      i18n/contents+en.po~
  32. 68
      i18n/contents+fr.po
  33. 57
      i18n/contents+fr.po~
  34. 67
      i18n/contents.pot
  35. 11
      models/about.ini
  36. 23
      models/index.ini
  37. 13
      models/page.ini
  38. 26
      models/project.ini
  39. 9
      models/projects.ini
  40. 12
      templates/about.html
  41. 10
      templates/featured_project.html
  42. 16
      templates/footer.html
  43. 16
      templates/header.html
  44. 45
      templates/index.html
  45. 6
      templates/layout.html
  46. 15
      templates/macros/pagination.html
  47. 11
      templates/masterhead.html
  48. 18
      templates/meta.html
  49. 0
      templates/project.html
  50. 0
      templates/projects.html
  51. 17
      website.lektorproject

20
BUILDINGBLOCKS.md

@ -0,0 +1,20 @@
Adding new projects:
Each project is in it's own folder under contents/, like butterflysoup/, under that is then placed a file named contents.lr with this:
```
sort_key: X
---
type: true
---
title: TITLE
...
body: BODY
```
The sort\_key is a number signifying the projects placement from top (lower numbers) to bottom (higher numbers), it currently starts at 0 with Lucah BOAD (xx: should inverse sort such that adding new projects is easier?).
Type is a bool (that is, true or false) signifying if it the images should be on the left (true) or on the right (false).
Title is.. the title, this should (probably) be the name of the game.
Body is the small text under the title
---

4
README.md

@ -0,0 +1,4 @@
Some thoughs on requirements:
- 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.

11713
assets/css/styles.css

File diff suppressed because it is too large

BIN
assets/images/bg-masthead.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

BIN
assets/images/bg-signup.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

BIN
assets/images/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
assets/images/ipad.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

8
assets/images/prideflag.svg

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 777 480">
<rect fill="#750787" width="777" height="480"/>
<rect fill="#004dff" width="777" height="400"/>
<rect fill="#008026" width="777" height="320"/>
<rect fill="#ffed00" width="777" height="240"/>
<rect fill="#ff8c00" width="777" height="160"/>
<rect fill="#e40303" width="777" height="80"/>
</svg>

After

Width:  |  Height:  |  Size: 362 B

7
assets/js/bootstrap.bundle.min.js

File diff suppressed because one or more lines are too long

5
assets/js/fontawesome.js

File diff suppressed because one or more lines are too long

54
assets/js/scripts.js

@ -0,0 +1,54 @@
/*!
* Start Bootstrap - Grayscale v7.0.3 (https://startbootstrap.com/theme/grayscale)
* Copyright 2013-2021 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-grayscale/blob/master/LICENSE)
*/
//
// Scripts
//
window.addEventListener('DOMContentLoaded', event => {
// Navbar shrink function
var navbarShrink = function () {
const navbarCollapsible = document.body.querySelector('#mainNav');
if (!navbarCollapsible) {
return;
}
if (window.scrollY === 0) {
navbarCollapsible.classList.remove('navbar-shrink')
} else {
navbarCollapsible.classList.add('navbar-shrink')
}
};
// Shrink the navbar
navbarShrink();
// Shrink the navbar when page is scrolled
document.addEventListener('scroll', navbarShrink);
// Activate Bootstrap scrollspy on the main nav element
const mainNav = document.body.querySelector('#mainNav');
if (mainNav) {
new bootstrap.ScrollSpy(document.body, {
target: '#mainNav',
offset: 74,
});
};
// Collapse responsive navbar when toggler is visible
const navbarToggler = document.body.querySelector('.navbar-toggler');
const responsiveNavItems = [].slice.call(
document.querySelectorAll('#navbarResponsive .nav-link')
);
responsiveNavItems.map(function (responsiveNavItem) {
responsiveNavItem.addEventListener('click', () => {
if (window.getComputedStyle(navbarToggler).display !== 'none') {
navbarToggler.click();
}
});
});
});

3
babel.cfg

@ -0,0 +1,3 @@
[jinja2: **/templates/**.html]
encoding = utf-8
extensions=jinja2.ext.autoescape,jinja2.ext.with_

5
configs/i18n.ini

@ -0,0 +1,5 @@
content = en
translations = fr
i18npath = i18n
translate_paragraphwise = False
url_prefix = https://queerscriptors.org/

11
content/contents+en.lr

@ -0,0 +1,11 @@
_model: index
---
title: Queerscriptors
---
body: A community of people that translate queer games
---
about_title: Join us!
---
about_body:
The Queerscriptor community does it's translations on a [weblate](https://littleroot.net/weblate/). Currently we do our coordination in a channel on the [Next Gaymer](https://nextgaymer.com/) Discord.

11
content/contents+fr.lr

@ -0,0 +1,11 @@
_model: index
---
title: Queerscriptors
---
body: A community of people that translate queer games
---
about_title: Join us!
---
about_body:
The Queerscriptor community does it's translations on a [weblate](https://littleroot.net/weblate/). Currently we do our coordination in a channel on the [Next Gaymer](https://nextgaymer.com/) Discord.

11
content/contents.lr

@ -0,0 +1,11 @@
_model: index
---
title: Queerscriptors
---
body: A community of people that translate queer games
---
about_title: Join us!
---
about_body:
The Queerscriptor community does it's translations on a [weblate](https://littleroot.net/weblate/). Currently we do our coordination in a channel on the [Next Gaymer](https://nextgaymer.com/) Discord.

7
content/projects/butterflysoup/contents+en.lr

@ -0,0 +1,7 @@
sort_key: 1
---
type: true
---
title: Butterfly Soup
---
body: We are nearly finished translating Butterfly Soup into French

7
content/projects/butterflysoup/contents+fr.lr

@ -0,0 +1,7 @@
sort_key: 1
---
type: true
---
title: Butterfly Soup
---
body: We are nearly finished translating Butterfly Soup into French

7
content/projects/butterflysoup/contents.lr

@ -0,0 +1,7 @@
sort_key: 1
---
type: true
---
title: Butterfly Soup
---
body: We are nearly finished translating Butterfly Soup into French

BIN
content/projects/butterflysoup/image.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

3
content/projects/contents+en.lr

@ -0,0 +1,3 @@
_model: projects
---
_discoverable: no

3
content/projects/contents+fr.lr

@ -0,0 +1,3 @@
_model: projects
---
_discoverable: no

3
content/projects/contents.lr

@ -0,0 +1,3 @@
_model: projects
---
_discoverable: no

7
content/projects/lucahboad/contents+en.lr

@ -0,0 +1,7 @@
sort_key: 0
---
type: false
---
title: Lucah Born Of A Dream
---
body: This is our current project

7
content/projects/lucahboad/contents+fr.lr

@ -0,0 +1,7 @@
sort_key: 0
---
type: false
---
title: Lucah Born Of A Dream
---
body: This is our current project

7
content/projects/lucahboad/contents.lr

@ -0,0 +1,7 @@
sort_key: 0
---
type: false
---
title: Lucah Born Of A Dream
---
body: This is our current project

BIN
content/projects/lucahboad/main.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

BIN
i18n/_compiled/en/LC_MESSAGES/contents.mo

Binary file not shown.

BIN
i18n/_compiled/fr/LC_MESSAGES/contents.mo

Binary file not shown.

74
i18n/contents+en.po

@ -0,0 +1,74 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-16 19:12+GMT\n"
"PO-Revision-Date: 2021-08-14 16:26+GMT\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: https://queerscriptors.org/ (content/contents+en.lr:index.title)
msgid "Queerscriptors"
msgstr "Queerscriptors"
#: https://queerscriptors.org/ (content/contents+en.lr:index.body)
msgid "A community of people that translate queer games"
msgstr "A community of people that translate queer games"
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_title)
msgid "Join us!"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_body)
msgid ""
"The Queerscriptor community does it's translations on a [weblate](https://"
"littleroot.net/weblate/). Currently we do our coordination in a channel on "
"the [Next Gaymer](https://nextgaymer.com/) Discord."
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.title)
msgid "Lucah Born Of A Dream"
msgstr "Lucah Born Of A Dream"
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.body)
msgid "This is our current project"
msgstr "This is our current project"
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.title)
msgid "Butterfly Soup"
msgstr "Butterfly Soup"
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.body)
msgid "We are nearly finished translating Butterfly Soup into French"
msgstr ""
#: templates/header.html:5
msgid "Menu"
msgstr "Menu"
#: templates/header.html:10
msgid "Join us"
msgstr ""
#: templates/header.html:11
msgid "Projects"
msgstr "Projects"
#: templates/header.html:12
msgid "Contact"
msgstr "Contact"
#~ msgid "About"
#~ msgstr "About"
#~ msgid "Translation of butterfly soup into french"
#~ msgstr "Translation of butterfly soup into french"

63
i18n/contents+en.po~

@ -0,0 +1,63 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-16 11:59+GMT\n"
"PO-Revision-Date: 2021-08-14 16:26+GMT\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: https://queerscriptors.org/ (content/contents+en.lr:index.title)
msgid "Queerscriptors"
msgstr "Queerscriptors"
#: https://queerscriptors.org/ (content/contents+en.lr:index.body)
msgid "A community of people that translate queer games"
msgstr "A community of people that translate queer games"
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.title)
msgid "Lucah Born Of A Dream"
msgstr "Lucah Born Of A Dream"
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.body)
msgid "This is our current project"
msgstr "This is our current project"
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.title)
msgid "Butterfly Soup"
msgstr "Butterfly Soup"
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.body)
msgid "We are nearly finished translating Butterfly Soup into French"
msgstr ""
#: templates/header.html:5
msgid "Menu"
msgstr "Menu"
#: templates/header.html:10
msgid "Join us"
msgstr ""
#: templates/header.html:11
msgid "Projects"
msgstr "Projects"
#: templates/header.html:12
msgid "Contact"
msgstr "Contact"
#~ msgid "About"
#~ msgstr "About"
#~ msgid "Translation of butterfly soup into french"
#~ msgstr "Translation of butterfly soup into french"

68
i18n/contents+fr.po

@ -0,0 +1,68 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-16 19:12+GMT\n"
"PO-Revision-Date: 2021-08-14 16:26+GMT\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: https://queerscriptors.org/ (content/contents+en.lr:index.title)
msgid "Queerscriptors"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.body)
msgid "A community of people that translate queer games"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_title)
msgid "Join us!"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_body)
msgid ""
"The Queerscriptor community does it's translations on a [weblate](https://"
"littleroot.net/weblate/). Currently we do our coordination in a channel on "
"the [Next Gaymer](https://nextgaymer.com/) Discord."
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.title)
msgid "Lucah Born Of A Dream"
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.body)
msgid "This is our current project"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.title)
msgid "Butterfly Soup"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.body)
msgid "We are nearly finished translating Butterfly Soup into French"
msgstr ""
#: templates/header.html:5
msgid "Menu"
msgstr ""
#: templates/header.html:10
msgid "Join us"
msgstr ""
#: templates/header.html:11
msgid "Projects"
msgstr ""
#: templates/header.html:12
msgid "Contact"
msgstr ""

57
i18n/contents+fr.po~

@ -0,0 +1,57 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-16 11:59+GMT\n"
"PO-Revision-Date: 2021-08-14 16:26+GMT\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: https://queerscriptors.org/ (content/contents+en.lr:index.title)
msgid "Queerscriptors"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.body)
msgid "A community of people that translate queer games"
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.title)
msgid "Lucah Born Of A Dream"
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.body)
msgid "This is our current project"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.title)
msgid "Butterfly Soup"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.body)
msgid "We are nearly finished translating Butterfly Soup into French"
msgstr ""
#: templates/header.html:5
msgid "Menu"
msgstr ""
#: templates/header.html:10
msgid "Join us"
msgstr ""
#: templates/header.html:11
msgid "Projects"
msgstr ""
#: templates/header.html:12
msgid "Contact"
msgstr ""

67
i18n/contents.pot

@ -0,0 +1,67 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-17 13:45+GMT\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: https://queerscriptors.org/ (content/contents+en.lr:index.title)
msgid "Queerscriptors"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.body)
msgid "A community of people that translate queer games"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_title)
msgid "Join us!"
msgstr ""
#: https://queerscriptors.org/ (content/contents+en.lr:index.about_body)
msgid ""
"The Queerscriptor community does it's translations on a [weblate](https://"
"littleroot.net/weblate/). Currently we do our coordination in a channel on "
"the [Next Gaymer](https://nextgaymer.com/) Discord."
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.title)
msgid "Lucah Born Of A Dream"
msgstr ""
#: https://queerscriptors.org/projects/lucahboad/
#: (content/projects/lucahboad/contents+en.lr:project.body)
msgid "This is our current project"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.title)
msgid "Butterfly Soup"
msgstr ""
#: https://queerscriptors.org/projects/butterflysoup/
#: (content/projects/butterflysoup/contents+en.lr:project.body)
msgid "We are nearly finished translating Butterfly Soup into French"
msgstr ""
#: templates/header.html:5
msgid "Menu"
msgstr ""
#: templates/header.html:10
msgid "Join us"
msgstr ""
#: templates/header.html:11
msgid "Projects"
msgstr ""
#: templates/header.html:12
msgid "Contact"
msgstr ""

11
models/about.ini

@ -0,0 +1,11 @@
[model]
name = About.html model
label = About
hidden = yes
protected = yes
[fields.title]
type = string
[fields.body]
type = markdown

23
models/index.ini

@ -0,0 +1,23 @@
[model]
name = Projects
label = {{ this.title }}
hidden = yes
protected = yes
[fields.title]
label = Title
type = string
translate = True
[fields.body]
label = Body
type = markdown
translate = True
[fields.about_title]
type = string
translate = True
[fields.about_body]
type = markdown
translate = True

13
models/page.ini

@ -0,0 +1,13 @@
[model]
name = Page
label = {{ this.title }}
[fields.title]
label = Title
type = string
translate = True
[fields.body]
label = Body
type = markdown
translate = True

26
models/project.ini

@ -0,0 +1,26 @@
[model]
name = Project
label = {{ this.name }}
_discoverable = no
[attachment]
order_by = _id
[fields.sort_key]
label = Sort order
type = sort_key
[fields.type]
label = Type
type = boolean
checkbox_label = true for type 1
[fields.title]
label = Title
type = string
translate = True
[fields.body]
label = Body
type = string
translate = True

9
models/projects.ini

@ -0,0 +1,9 @@
[model]
name = Projects
label = Projects
hidden = yes
protected = yes
[children]
model = project
order_by = sort_key

12
templates/about.html

@ -0,0 +1,12 @@
<!-- About-->
<section 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">
<div class="col-lg-8">
<h2 class="text-white mb-4">{{ this.about_title }}</h2>
<div class="text-white">{{ this.about_body }}</div>
</div>
</div>
<!--<img class="img-fluid" src="{{ 'images/ipad.png'|url }}" alt="..." />-->
</div>
</section>

10
templates/featured_project.html

@ -0,0 +1,10 @@
<!-- Featured Project Row-->
<div class="row gx-0 mb-4 mb-lg-5 align-items-center">
<div class="col-xl-8 col-lg-7"><img class="img-fluid mb-3 mb-lg-0" src="{{ 'images/bg-masthead.jpg'|url }}" alt="..." /></div>
<div class="col-xl-4 col-lg-5">
<div class="featured-text text-center text-lg-left">
<h4>Shoreline</h4>
<p class="text-black-50 mb-0">Grayscale is open source and MIT licensed. This means you can use it for any project - even commercial projects! Download it, customize it, and publish your website!</p>
</div>
</div>
</div>

16
templates/footer.html

@ -0,0 +1,16 @@
<!-- Contact-->
<section class="contact-section bg-black">
<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="#!"><i class="fab fa-discord"></i></a>
<a class="mx-2" href="#!"><i class="fab fa-git"></i></a>
</div>
</section>
<!-- Footer-->
<footer class="footer bg-black small text-center text-white-50"><div class="container px-4 px-lg-5">Copyright &copy; Queerscriptors 2021</div></footer>
<!-- Bootstrap core JS-->
<script src="{{ 'js/bootstrap.bundle.min.js'|url }}"></script>
<!-- Core theme JS-->
<script src="{{ 'js/scripts.js'|url }}"></script>
</body>
</html>

16
templates/header.html

@ -0,0 +1,16 @@
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container px-4 px-lg-5">
<a class="navbar-brand" href="#page-top">{{ _("Queerscriptors") }}</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
{{ _("Menu") }}
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto">
<li class="nav-item"><a class="nav-link" href="#join">{{ _("Join us") }}</a></li>
<li class="nav-item"><a class="nav-link" href="#projects">{{ _("Projects") }}</a></li>
<!-- <li class="nav-item"><a class="nav-link" href="#signup">{{ _("Contact" ) }}</a></li>-->
</ul>
</div>
</div>
</nav>

45
templates/index.html

@ -0,0 +1,45 @@
{% extends "layout.html" %}
{% block projects %}
{% set projects = site.query('/projects').include_undiscoverable(true).all() %}
<!-- Projects-->
<section class="projects-section bg-light" id="projects">
<div class="container px-4 px-lg-5">
{% for project in projects %}
{% 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="test" /></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" />
</div>
</div>
</div>
</div>
</div>
{% else %}
<!-- Project Two Row-->
<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="..." /></div>
<div class="col-lg-6 order-lg-first">
<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-right">
<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 me-0" />
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</section>
{% endblock %}

6
templates/layout.html

@ -0,0 +1,6 @@
{% include 'meta.html' %}
{% include 'header.html' %}
{% include 'masterhead.html' %}
{% include 'about.html' %}
{% block projects %}{% endblock %}
{% include 'footer.html' %}

15
templates/macros/pagination.html

@ -0,0 +1,15 @@
{% macro render_pagination(pagination) %}
<div class="pagination">
{% if pagination.has_prev %}
<a href="{{ pagination.prev|url }}">&laquo; Previous</a>
{% else %}
<span class="disabled">&laquo; Previous</span>
{% endif %}
| {{ pagination.page }} |
{% if pagination.has_next %}
<a href="{{ pagination.next|url }}">Next &raquo;</a>
{% else %}
<span class="disabled">Next &raquo;</span>
{% endif %}
</div>
{% endmacro %}

11
templates/masterhead.html

@ -0,0 +1,11 @@
<!-- Masthead-->
<header class="masthead">
<div class="container px-4 px-lg-5 d-flex h-100 align-items-center justify-content-center">
<div class="d-flex justify-content-center">
<div class="text-center">
<h1 class="mx-auto my-0 text-uppercase">{{ this.title }}</h1>
<h2 class="text-white-80 mx-auto mt-2 mb-5">{{ this.body }}</h2>
</div>
</div>
</div>
</header>

18
templates/meta.html

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>{{ this.title }}</title>
<link rel="icon" type="image/x-icon" href="{{ '/images/favicon.ico'|url }}" />
<!-- Font Awesome icons (free version)-->
<script src="{{ 'js/fontawesome.js'|url }}"></script>
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Varela+Round" 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)-->
<link href="{{ 'css/styles.css'|url }}" rel="stylesheet" />
</head>
<body id="page-top">

0
templates/project.html

0
templates/projects.html

17
website.lektorproject

@ -0,0 +1,17 @@
[project]
name = Queerscriptors
url_style = relative
locale = en
[alternatives.en]
name = English
primary = yes
locale = en_US
[alternatives.fr]
name = French
url_prefix = /fr/
locale = fr
[packages]
lektor-i18n = 0.4.4
Loading…
Cancel
Save