Agg. PicoBlog; Aggiunta contatore visite

This commit is contained in:
octospacc 2022-06-22 15:52:32 +02:00
parent cbe8ecc61a
commit 944050d42f
7 changed files with 39 additions and 15 deletions

View File

@ -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

View File

@ -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 {

View File

@ -0,0 +1,7 @@
<br>
<div id="StatCounter">
<h4>Contatore assoluto delle visite</h4>
<a href="https://www.contatoreaccessi.com" target="_blank" rel="noopener" title="Contatore"><img src="https://counter4.whocame.ovh/private/contatoreaccessi.php?c=3pfp8ahxbnm9e53pqtcnuxz8mq7wrk9s" border="0" title="Contatore" alt="Contatore"></a>
<!-- <a href="https://www.contatoreaccessi.com" title="contatori"><img src="https://counter9.stat.ovh/private/contatoreaccessi.php?c=3pfp8ahxbnm9e53pqtcnuxz8mq7wrk9s" border="0" title="contatori" alt="contatori"></a> -->
</div>

View File

@ -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.. 😅

View File

@ -1,12 +1,15 @@
<hr>
<a class="NoCol" href="https://mastodon.uno/@octo" target="_blank" rel="noopener">
<img src="[HTML:Folder:*:AbsoluteRoot]/sitoctt-assets/Buttons/Follow-Me-On-Mastodon.gif">
</a>
<br>
<a class="NoCol" href="https://www.gnu.org/home.it" target="_blank" rel="noopener">
<img src="[HTML:Folder:*:AbsoluteRoot]/sitoctt-assets/Buttons/Made-On-GNU-Linux.gif">
</a>
<a class="NoCol" href="https://www.torproject.org/it" target="_blank" rel="noopener">
<img src="[HTML:Folder:*:AbsoluteRoot]/sitoctt-assets/Buttons/Tor.gif">
</a>

View File

@ -8,7 +8,7 @@
</div>
<div id="TopBoxRight">
<a href="[HTML:Site:RelativeRoot]index.html#-Sorgenti-e-licenze">
<a class="NoABigger" href="[HTML:Site:RelativeRoot]index.html#-Sorgenti-e-licenze">
<img src="[HTML:Folder:*:AbsoluteRoot]/sitoctt-assets/Buttons/CC-BY-SA.gif">
</a>
</div>

View File

@ -14,16 +14,16 @@
<meta property="og:url" content="https://octtspacc.gitlab.io/sitoctt/[HTML:Page:Path]">
<meta property="og:image" content="[HTML:Folder:*:AbsoluteRoot]/sitoctt-assets/RichPreview/index.png">
<style>
[HTML:Page:Style]
[HTML:Page:Style]
</style>
</head>
<body id="Body">
<div id="Header">
[HTML:ContextPart:*/Header]
[HTML:ContextPart:*/Header]
</div>
<div id="Container">
<div id="TopBox">
[HTML:Part:Standard/TopBox.html]
[HTML:Part:Standard/TopBox.html]
</div>
<div id="MiddleBox">
<div id="LeftBoxContainer">
@ -31,9 +31,9 @@
<input type="checkbox" id="LeftBoxCheck" checked>
<br>
<div id="LeftBox" class="ToggleBox">
[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]
</div>
</div>
<div id="RightBoxContainer">
@ -41,21 +41,25 @@
<input type="checkbox" id="RightBoxCheck" checked>
<br>
<div id="RightBox" class="ToggleBox">
[HTML:Page:RightBox]
[HTML:Page:RightBox]
</div>
</div>
<div id="MainBox">
<div id="MainBoxTop">
[HTML:Page:ContentHeader]
[HTML:Page:ContentHeader]
</div>
[HTML:Page:Content]
<div id="MainBoxBottom">
<br>
[HTML:ContextPart:*/Footer]
</div>
[HTML:Page:Content]
</div>
</div>
<div id="BottomBoxContainer">
<label id="BottomBoxLabel" for="BottomBoxCheck"><big><b>[<span class="twa twa-label"><span>🏷️</span></span>]</b></big></label>
<input type="checkbox" id="BottomBoxCheck">
<div id="BottomBox" class="ToggleBox">
[HTML:Part:Standard/BottomBox.html]
[HTML:Part:Standard/BottomBox.html]
</div>
</div>
</div>