Compare commits
2 commits
5e04fec993
...
c0be71f113
Author | SHA1 | Date | |
---|---|---|---|
c0be71f113 | |||
5c8c8577ad |
5 changed files with 34 additions and 20 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
|
||||
;; Define Your Webpage
|
||||
|
||||
(defvar *config*
|
||||
(list
|
||||
:webmaster "Tommy Skaug"
|
||||
:title "Thoughts"
|
||||
:description "Purposeful approaches"
|
||||
:description "Greetings. I am a cyber security professional with more than a decade of operational experience.
|
||||
I appreciate solving emerging and existing problems with novel and simple approaches."
|
||||
:url "https://www.252.no/" ;; the trailing slash is mandatory! RSS links will fail without it. Notice the '~~' to produce a literal '~'
|
||||
:rss-item-number 20 ;; limit total amount of items in RSS feed to 10
|
||||
:date-format "%MonthName %DayNumber %Year" ;; format for date %DayNumber %DayName %MonthNumber %MonthName %Year
|
||||
|
|
|
@ -275,6 +275,8 @@
|
|||
;; html generation of index homepage
|
||||
(defun generate-semi-mainpage(&key (tiny t) (no-text nil))
|
||||
(apply #'concatenate 'string
|
||||
(prepare "templates/about.tpl"
|
||||
(template "%%Description%%" (getf *config* :description)))
|
||||
(loop for article in *articles* collect
|
||||
(create-article article :tiny tiny :no-text no-text))))
|
||||
|
||||
|
|
|
@ -130,10 +130,22 @@ h1 { font-size: 3.2rem; font-style: normal; margin-top: 2.6rem; }
|
|||
h2 { font-size: 2.2rem; margin-top: 4.2rem; }
|
||||
h3 { font-size: 1.7rem; margin-top: 2.6rem; }
|
||||
|
||||
p,table,blockquote,pre,img,hr,.mini-note,ul li,ol li {
|
||||
p,table,blockquote,img,hr,.mini-note,ul li,ol li {
|
||||
box-sizing: border-box;
|
||||
max-width: 55%;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-size: 1rem;
|
||||
margin: 2rem 0 2rem 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow-x: auto;
|
||||
min-width: 98%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
};
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
max-width: 53rem;
|
||||
|
@ -257,6 +269,7 @@ figcaption {
|
|||
left: calc(100% + 4rem);
|
||||
line-height: 1.3rem;
|
||||
max-width: 400px;
|
||||
word-wrap: break-word;
|
||||
padding-top: 1rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
13
templates/about.tpl
Normal file
13
templates/about.tpl
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
<nav class="sans">
|
||||
<ul class="site-nav">
|
||||
<li><a href="index-titles.html">All Posts</a></li>
|
||||
<li><a href="rss.xml">RSS</a></li>
|
||||
<li><a href="https://keyoxide.org/088194F806EBADEE1B48B1CBC0A38C49BB2258E8" target="_blank">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="intro">
|
||||
%%Description%%
|
||||
</div>
|
||||
|
|
@ -12,20 +12,6 @@
|
|||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<nav class="sans">
|
||||
<ul class="site-nav">
|
||||
<li><a href="index-titles.html">All Posts</a></li>
|
||||
<li><a href="rss.xml">RSS</a></li>
|
||||
<li><a href="https://keyoxide.org/088194F806EBADEE1B48B1CBC0A38C49BB2258E8" target="_blank">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<!--<div>All Tags: %%Tags%%</div>-->
|
||||
|
||||
<div class="intro">Greetings. I am a cyber security professional
|
||||
with more than a decade of operational experience. I appreciate
|
||||
solving emerging and existing problems with novel and simple
|
||||
approaches.</div>
|
||||
</header>
|
||||
|
||||
<main>%%Body%%</main>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue