From 58d56dc9dae201d89a4911e125099f1f41780eab Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sat, 5 Dec 2020 22:51:37 +0100 Subject: First version of the website --- templates/en/_books.md | 13 ++++++ templates/en/_funding.md | 18 ++++++++ templates/en/_philosophy.md | 7 +++ templates/en/_programming_in_python.md | 10 ++++ templates/en/_summary.md | 14 ++++++ templates/en/_whats_informatics.md | 10 ++++ templates/en/index.html | 84 ++++++++++++++++++++++++++++++++++ 7 files changed, 156 insertions(+) create mode 100644 templates/en/_books.md create mode 100644 templates/en/_funding.md create mode 100644 templates/en/_philosophy.md create mode 100644 templates/en/_programming_in_python.md create mode 100644 templates/en/_summary.md create mode 100644 templates/en/_whats_informatics.md create mode 100644 templates/en/index.html (limited to 'templates/en') diff --git a/templates/en/_books.md b/templates/en/_books.md new file mode 100644 index 0000000..6df057b --- /dev/null +++ b/templates/en/_books.md @@ -0,0 +1,13 @@ +All the books are published under the terms of the +[CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) license and have +been published in various formats: paperback, web and an easy to print PDF +file, with the goal of making them available for anyone. + +Digital versions of the books are available in the list below while the +paperback edition can be obtained [contacting +us](https://elenq.tech/en/#contact). + +For those who want to take part in the development, send comments, propose +corrections or even create derivative works, having the sources is more than +interesting. Each book has a link to its Git repository where raw content, +change history, etc. are available. diff --git a/templates/en/_funding.md b/templates/en/_funding.md new file mode 100644 index 0000000..f1e1ffe --- /dev/null +++ b/templates/en/_funding.md @@ -0,0 +1,18 @@ +This project's goal is to make the contents available for everyone, regardless +of their resources. That's why we share the contents online for free and we +even allow the printing of the books using our easy-to-print format. + +On the other hand, the project needs to be sustainable so we can keep making +new books, correcting them, maintaining this website and so on. + +This project is funded selling the books, it would die if nobody paid for them. + +Those who want and have the resources to do it, can support the project buying +physical or digital books. + +Even further, its also possible [to hire ElenQ +Technology](https://elenq.tech/en/#products) for training or as an independent +research and development team. + +For both things, you can contact us with the contact info [you can find +here](https://elenq.tech/en/#contact). diff --git a/templates/en/_philosophy.md b/templates/en/_philosophy.md new file mode 100644 index 0000000..2b6aa5d --- /dev/null +++ b/templates/en/_philosophy.md @@ -0,0 +1,7 @@ +As ElenQ Technology's training, the content of ElenQ Publishing is focused on +teaching the underlaying concepts of subjects in order to create a solid +knowledge basis. From that, the goal is to encourage independent learning. + +On the other hand, the books are mainly focused on Free Software due to its +educational value and social approach, which is part of the [values of ElenQ +Technology](https://elenq.tech/en#ethics). diff --git a/templates/en/_programming_in_python.md b/templates/en/_programming_in_python.md new file mode 100644 index 0000000..9f5b431 --- /dev/null +++ b/templates/en/_programming_in_python.md @@ -0,0 +1,10 @@ +- Level: basic +- Publishing date: 10-08-2020 +- ISBN of the paperback edition: 978-84-122572-1-2 +- Price of the physical book: 30€ +- Available languages and formats: + - Español + - [Easy to print PDF](/books/Programming_in_Python/es/book-simple.pdf) + - [Web](/books/Programming_in_Python/es/web.html) + - [Simple Web](/books/Programming_in_Python/es/web-simple.html) +- [Source repository](https://gitlab.com/ElenQ/Publishing/python) diff --git a/templates/en/_summary.md b/templates/en/_summary.md new file mode 100644 index 0000000..2a57127 --- /dev/null +++ b/templates/en/_summary.md @@ -0,0 +1,14 @@ +*ElenQ Publishing* is a book publishing initiative which goal is to empower +people with high quality material, with free licenses, accessible and published +in their own language. + +The project was born from *ElenQ Technology*'s training service, where we +prepare comprehensive course notes for our students. As we realized the notes +could be interesting for the public, we decided to create a publishing house to +make them available for everyone. In 2020 we launched [a crowdfunding +campaign](https://www.goteo.org/project/elenq-publishing) and with it we +published the first books of the collection. + +Today, with the first two books published, printed and sent to their new homes, +*ElenQ Publishing* is another piece of *ElenQ Technology* that is large enough +to deserve its own space. diff --git a/templates/en/_whats_informatics.md b/templates/en/_whats_informatics.md new file mode 100644 index 0000000..4629c69 --- /dev/null +++ b/templates/en/_whats_informatics.md @@ -0,0 +1,10 @@ +- Level: basic +- Publishing date: 10-08-2020 +- ISBN of the paperback edition: 978-84-122572-0-5 +- Price of the physical book: 15€ +- Available languages and formats: + - Español + - [Printable PDF](/books/What_is_Informatics/es/book-simple.pdf) + - [Web](/books/What_is_Informatics/es/web.html) + - [Simple web](/books/What_is_Informatics/es/web-simple.html) +- [Source repository](https://gitlab.com/ElenQ/Publishing/informatics) diff --git a/templates/en/index.html b/templates/en/index.html new file mode 100644 index 0000000..75c8448 --- /dev/null +++ b/templates/en/index.html @@ -0,0 +1,84 @@ +(define footer +" +The content of this website is published under the terms of [Creative Commons +Attribution Share-Alike 4.0 +International](http://creativecommons.org/licenses/by-sa/4.0/) license unless +otherwise stated. +") + +(define summary (md-to-html (file->string "templates/en/_summary.md"))) +(define philo (md-to-html (file->string "templates/en/_philosophy.md"))) +(define funding (md-to-html (file->string "templates/en/_funding.md"))) + +(define books (md-to-html (file->string "templates/en/_books.md"))) +(define python (md-to-html (file->string "templates/en/_programming_in_python.md"))) +(define informatics (md-to-html (file->string "templates/en/_whats_informatics.md"))) + +(load "templates/_defs.scm") +(set! lang "en") + +(sxml->xml + (base + "ElenQ Publishing" + `(,(header + `(((name . "Technology") + (title . "Engineering - ElenQ Technology") + (absurl . "https://elenq.tech/en/index.html")) + + ((name . "Publishing") + (title . "Publishing House - ElenQ Publishing") + (absurl . ,(absurl-to-lang "/index.html")) + (active . #t))) + + `(((name . "en") + (title . "English") + (absurl . "/en/") + (active . #t)) + ((name . "es") + (title . "Español") + (absurl . "/es/")))) + + + (div (@ (class "content container")) + + ,(logo-title) + + (section (@ (class summary)) + (@raw ,summary)) + + (section + ,(anchored-h 2 "Philosophy" "philosophy") + (@raw ,philo)) + + (section + ,(anchored-h 2 "Books" "books") + (@raw ,books)) + + + ,(anchored-h 3 "What is informatics" "whats-informatics") + (p "This document written by Giacomo Tesio and translated and adapted by Ekaitz + Zarraga aims to describe what is informatics from its origins and create debate + about the ethics around it and the current uses it has. This book serves as + opening and statement of purpose of the whole collection because Giacomo's + ideas match perfectly the goals of ElenQ Publishing even if they were developed + independently.") + (div (@ (class "flex-around-wrap")) + (@raw ,informatics) + ,(book "5px" "/books/What_is_Informatics/es/cover.png" '("type2"))) + + + ,(anchored-h 3 "Programming in Python" "programming-in-python") + (p "Written by Ekaitz Zarraga for his courses, this book is a Python programming + manual that also describes general programming theory in an introductory level.") + (div (@ (class "flex-around-wrap")) + (@raw ,python) + ,(book "13px" "/books/Programming_in_Python/es/cover.png" '("type1"))) + + (section + ,(anchored-h 2 "Funding" "funding") + (@raw ,funding))) + + (footer (@ (class bar-bottom)) + (div (@ (class "container text-center")) + (h6 "ElenQ Technology") + ,(md footer)))))) -- cgit v1.2.3