diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad3fc4d..eb75262 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,7 @@ pages: stage: deploy script: - git clone --depth 1 https://gitlab.com/octtspacc/staticoso - - python3 staticoso/Source/Build.py --SiteLang="it" --SiteRoot="/sitoctt/" --FolderRoots="{'*':'//octtspacc.gitlab.io'}" + - python3 staticoso/Source/Build.py --SiteLang="it" --SiteRoot="/sitoctt/" --FolderRoots="{'*':'//octtspacc.gitlab.io'}" --ContextParts="{'Footer':['StatCounter.html']}" artifacts: paths: - public diff --git a/Assets/Standard.css b/Assets/Standard.css index cd55710..c99cd7f 100644 --- a/Assets/Standard.css +++ b/Assets/Standard.css @@ -54,11 +54,17 @@ ul { #MainBox > * > a::before, #MainBox > * > * > a::before, -#MainBox > * > * > * > a::before { +#MainBox > * > * > * > a::before, +#MainBox > * > * > * > * > a::before { content: '🔗 '; } -a:hover:not(h3 > a), details > summary:hover { +#StatCounter > a::before { + content: ''; +} + +a:hover:not(h3 > a, .NoABigger), +details > summary:hover { Font-Size: 15pt; } h1:hover { diff --git a/ContextParts/*/Footer/StatCounter.html b/ContextParts/*/Footer/StatCounter.html new file mode 100644 index 0000000..c8fd659 --- /dev/null +++ b/ContextParts/*/Footer/StatCounter.html @@ -0,0 +1,7 @@ +
+ +
+

Contatore assoluto delle visite

+ Contatore + +
diff --git a/Pages/PicoBlog.pug b/Pages/PicoBlog.pug index 1a6677a..dee0518 100644 --- a/Pages/PicoBlog.pug +++ b/Pages/PicoBlog.pug @@ -27,6 +27,10 @@ h2 Leggi il PicoBlog details(open) summary Lista dei post div + details + summary [2022-06-22] L'esagerazione + p Mi è venuta voglia di esagerare e implementare un contatore delle visite sul sito. Per fortuna, ho trovato il servizio gratuito già pronto di #[a(href='https://contatoreaccessi.com' target='_blank' rel='noopener') contatoreaccessi.com], che funziona caricando assolutamente #[b zero JavaScript], anche se conta anche i refresh, non le visite uniche.. vabbe. + details summary [2022-06-21] Aggiornamenti tecnici p Tra ieri e stamattina ho lavorato abbastanza al generatore, per sistemare problemini e aggiungere funzioni, e ho aggiunto qualche miglioramento al CSS del sito. Comunque questo PicoBlog è ormai solo un devlog, un po' un peccato, ma non so cos'altro scrivere di molto corto.. 😅 diff --git a/Parts/Standard/LeftBoxBottom.html b/Parts/Standard/LeftBoxBottom.html index 6c4bda1..79967d7 100644 --- a/Parts/Standard/LeftBoxBottom.html +++ b/Parts/Standard/LeftBoxBottom.html @@ -1,12 +1,15 @@
+ +
+ + - diff --git a/Parts/Standard/TopBox.html b/Parts/Standard/TopBox.html index b29d2ef..c78b149 100644 --- a/Parts/Standard/TopBox.html +++ b/Parts/Standard/TopBox.html @@ -8,7 +8,7 @@
- +
diff --git a/Templates/Standard.html b/Templates/Standard.html index e8239cb..dafcedc 100644 --- a/Templates/Standard.html +++ b/Templates/Standard.html @@ -14,16 +14,16 @@
-[HTML:Part:Standard/TopBox.html] + [HTML:Part:Standard/TopBox.html]
@@ -31,9 +31,9 @@
-[HTML:Part:Standard/LeftBoxTop.html] -[HTML:Page:LeftBox] -[HTML:Part:Standard/LeftBoxBottom.html] + [HTML:Part:Standard/LeftBoxTop.html] + [HTML:Page:LeftBox] + [HTML:Part:Standard/LeftBoxBottom.html]
@@ -41,21 +41,25 @@
-[HTML:Page:RightBox] + [HTML:Page:RightBox]
-[HTML:Page:ContentHeader] + [HTML:Page:ContentHeader] +
+ [HTML:Page:Content] +
+
+ [HTML:ContextPart:*/Footer]
-[HTML:Page:Content]
-[HTML:Part:Standard/BottomBox.html] + [HTML:Part:Standard/BottomBox.html]