--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M128 0C92.7 0 64 28.7 64 64v96h64V64H354.7L384 93.3V160h64V93.3c0-17-6.7-33.3-18.7-45.3L400 18.7C388 6.7 371.7 0 354.7 0H128zM384 352v32 64H128V384 368 352H384zm64 32h32c17.7 0 32-14.3 32-32V256c0-35.3-28.7-64-64-64H64c-35.3 0-64 28.7-64 64v96c0 17.7 14.3 32 32 32H64v64c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V384zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"/></svg>
\ No newline at end of file
\r
p {\r
margin: 0 0 _size(element-margin) 0;\r
+ &.smaller {\r
+ font-style: italic;\r
+ font-size: 12pt;\r
+ }\r
}\r
\r
h1, h2, h3, h4, h5, h6 {\r
text-align: center;\r
}\r
}\r
+ }\r
+ // signature inside single articles\r
+ div#post-signature {\r
+ clear: both;\r
+ overflow: hidden;\r
+ width: 100%;\r
+ margin: 0;\r
+ div#signature {\r
+ margin: 0;\r
+ padding: 0;\r
+ img.signature {\r
+ margin: 0;\r
+ margin-right: 4em;\r
+ width: 350px;\r
+ }\r
+ }\r
}
\ No newline at end of file
width: 100%;
margin: 0;
float: none;
+ div#main {
+ background-color: initial;
+ }
}
figure.image {
&.shadow {
@include hide-visually;
}
}
-header#header,
#backtotop,
+footer#shareme,
+header#header,
footer#footer {
@include hide-visually;
}
strong {
page-break-before: avoid;
}
+ p {
+ page-break-inside: avoid !important;
+ }
}
{{ define "curriculum-footer" }}
<article>
<div class="inner">
- <p>Lorem, ipsum dolor, sit amet consectetur adipisicing elit. Suscipit praesentium sequi aperiam corrupti dolore vitae dolores natus incidunt ullam eum quod in debitis, voluptatum a excepturi perferendis ratione nulla. Molestias.</p>
+ <p class="align-center smaller">Su richiesta posso fornire lettere di referenze dai miei precedenti datori di lavoro.</p>
+ <p class="align-center smaller">I dati personali acquisiti mediante questo Curriculum Vitae devono essere trattati nel rispetto delle norme del'art. 13 del D. Lgs. 196/2003 in materia di trattamento dei dati personali.</p>
+ <footer id="shareme">{{- partial "funcs/share-on-socials.html" . -}}</footer>
</div>
</article>
{{ end }}
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
-<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
+{{ $author := .Params.author }}
+<div id="byline">
+ Published by {{ $author }} on <time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
+</div>
+
<!-- Telegram -->
<a href="https://telegram.me/share/url?text={{ .Title }}&url={{ .Permalink }}" target="_blank" rel="noopener" aria-label="">{{- partial "funcs/svg.html" (dict "context" . "username" "telegram") -}}<span class="screen-reader-text">Share "{{ .Title }}" via Telegram</span></a>
</li>
+ {{ if eq "curriculum" .Type }}
+ <!-- Print this page -->
+ <li>
+ <a href="javascript:window.print()">{{- partial "funcs/svg.html" (dict "context" . "username" "print") -}}<span class="screen-reader-text">Print "{{ .Title }}"</span></a>
+ <a href=""></a>
+ </li>
+ {{ end }}
</ul>
--- /dev/null
+<div id="signature">
+ <img class="signature image right" src="/uploads/2018/05/new-signature.png" alt="danix">
+</div>
\ No newline at end of file
{{ define "article-main" }}
<div class="inner">
+ {{- partial "funcs/datepublish.html" . -}}
<p>{{ .Content }}</p>
- <p>firma e metadata</p>
+ <div id="post-signature">{{- partial "funcs/signature.html" . -}}</div>
+ <p>{{- partial "funcs/categories.html" . -}}</p>
+ <p>{{- partial "funcs/tags.html" . -}}</p>
<p>{{- partial "funcs/share-on-socials.html" . -}}</p>
</div>
{{ end }}