From 027f0b18d67f923216cebfbee8a5f57c04880d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 29 Jan 2024 14:33:59 +0100 Subject: [PATCH] Add theme example and minor addition to config --- config | 2 + include/common/compiler.inc | 14 --- include/common/numcpu.inc | 4 - themes/minimal/blog_index.tpl | 143 ++++++++++++++++++++++++++ themes/minimal/blog_list.tpl | 15 +++ themes/minimal/blogs.tpl | 139 +++++++++++++++++++++++++ themes/minimal/pages.tpl | 182 +++++++++++++++++++++++++++++++++ themes/minimal/testimonies.tpl | 29 ++++++ 8 files changed, 510 insertions(+), 18 deletions(-) delete mode 100644 include/common/compiler.inc delete mode 100644 include/common/numcpu.inc create mode 100644 themes/minimal/blog_index.tpl create mode 100644 themes/minimal/blog_list.tpl create mode 100644 themes/minimal/blogs.tpl create mode 100644 themes/minimal/pages.tpl create mode 100644 themes/minimal/testimonies.tpl diff --git a/config b/config index ba20a13..8b9e092 100644 --- a/config +++ b/config @@ -2,6 +2,8 @@ # This is the name of your site export site_name="The Site Name" +# This is the site tag or subtitle +export site_tagline="The Site Tagline" # At the moment, there is only 1 theme - minimal export theme=minimal # This is the directory where you create your pages and blogs. diff --git a/include/common/compiler.inc b/include/common/compiler.inc deleted file mode 100644 index 601a4a6..0000000 --- a/include/common/compiler.inc +++ /dev/null @@ -1,14 +0,0 @@ -function doClang() { - export CC=clang - export CXX=clang++ -} - -function doGcc() { - export CC=gcc - export CXX=g++ -} - -function undoCompiler() { - unset CC - unset CXX -} diff --git a/include/common/numcpu.inc b/include/common/numcpu.inc deleted file mode 100644 index b7c1867..0000000 --- a/include/common/numcpu.inc +++ /dev/null @@ -1,4 +0,0 @@ -# Find the number of available cores and return variable NUMCPU -# You can use this i.e. to "make -j${NUMCPU}" - -NUMCPU=$(getconf _NPROCESSORS_ONLN) diff --git a/themes/minimal/blog_index.tpl b/themes/minimal/blog_index.tpl new file mode 100644 index 0000000..9284e2e --- /dev/null +++ b/themes/minimal/blog_index.tpl @@ -0,0 +1,143 @@ + + + + +El Vikingo TI - Blog + + + + + + + + + + + + + + + + + + + +
+
+

Blog

+
+
+
Déjame ayudarte a hacer tus directos sin estrés.
+
+
+
+
+ + + + + +BODY + + + + + +
+
+
+

Ponte en contacto conmigo

+
+
+
+
+ +
+ +
+

Lo que hago

+

+Elegir a El Vikingo TI significa
+optar por la tranquilidad, la profesionalidad
+y una calidad de transmisión inigualable. +

+
+ +
+
+ +
+

La manera tradicional

+

Correo Electronico
+Envíeme un mensaje +

+
+ +
+
+ +
+

Redes Sociales

+ + + + + + +
+
+
+
+ +
+ + +
+ + + + + diff --git a/themes/minimal/blog_list.tpl b/themes/minimal/blog_list.tpl new file mode 100644 index 0000000..46654a3 --- /dev/null +++ b/themes/minimal/blog_list.tpl @@ -0,0 +1,15 @@ + + + +
+
+

BLOGTITLE

+
+ INGRESS +
+ BLOGDATE +
+
+
+ + diff --git a/themes/minimal/blogs.tpl b/themes/minimal/blogs.tpl new file mode 100644 index 0000000..8f5040e --- /dev/null +++ b/themes/minimal/blogs.tpl @@ -0,0 +1,139 @@ + + + +El Vikingo TI - BLOGTITLE + + + + + + + + + + + + + + + +
+
+

BLOGTITLE

+
+
+
+CALADAY - CALNDAY - CALMONTH - CALYEAR +
+
+
+ + + +
+
+ +
+
+INGRESS +
+
+BODY +
+
+ +
+
+ + + +
+
+
+

Ponte en contacto conmigo

+
+
+
+
+ +
+ +
+

Lo que hago

+

+#tagline +

+
+ +
+
+ +
+

La manera tradicional

+

Correo Electronico
+Envíeme un mensaje +

+
+ +
+
+ +
+

Redes Sociales

+ + + + + + +
+
+
+
+ +
+ + +
+ + + + + diff --git a/themes/minimal/pages.tpl b/themes/minimal/pages.tpl new file mode 100644 index 0000000..89d88ba --- /dev/null +++ b/themes/minimal/pages.tpl @@ -0,0 +1,182 @@ + + + + +El Vikingo TI - #pagetitle + + + + + + + + + + + + + + + + + + + +
+
+

#pagetitle

+
+
+
#tagline
+
+
+
+
+ + + + + +BODY + + + + + + + + + + + +
+
+
+

Ponte en contacto conmigo

+
+
+
+
+ +
+ +
+

Lo que hago

+

+#tagline +

+
+ +
+
+ +
+

La manera tradicional

+

Correo Electronico
+Envíeme un mensaje +

+
+ +
+
+ +
+

Redes Sociales

+ + + + + + +
+
+
+
+ +
+ + +
+ + + + + diff --git a/themes/minimal/testimonies.tpl b/themes/minimal/testimonies.tpl new file mode 100644 index 0000000..491dc33 --- /dev/null +++ b/themes/minimal/testimonies.tpl @@ -0,0 +1,29 @@ +
+
+

How we make brands thrive

+
+
+
+
+ +
+

SET a target

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

+
+
+
+ +
+

design a solution

+

Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.

+
+
+
+ +
+

track the progress

+

Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

+
+
+
+