Skip to content

Commit adaa5b2

Browse files
committed
added some members members
1 parent 8c769b8 commit adaa5b2

File tree

10 files changed

+312
-5
lines changed

10 files changed

+312
-5
lines changed

assets/scss/partial/article.scss

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
article {
2+
header {
3+
.posttitle {
4+
margin-top: 0;
5+
margin-bottom: 0;
6+
text-transform: none;
7+
font-size: 1.5em;
8+
line-height: 1.25;
9+
}
10+
.meta {
11+
margin-top: 0;
12+
margin-bottom: 1rem;
13+
}
14+
.meta * {
15+
color: $color-accent-3;
16+
font-size: .85rem;
17+
}
18+
.author {
19+
text-transform: none;
20+
letter-spacing: .01em;
21+
font-weight: 700;
22+
}
23+
.postdate {
24+
display: inline;
25+
}
26+
}
27+
.content {
28+
h2 {
29+
&:before {
30+
position: absolute;
31+
top: -4px;
32+
left: -1rem;
33+
color: $color-accent-1;
34+
content: "#";
35+
font-weight: bold;
36+
font-size: 1.2rem;
37+
}
38+
}
39+
}
40+
.content img,
41+
.content video {
42+
display: block;
43+
margin: auto;
44+
max-width: 100%;
45+
height: auto;
46+
47+
/* http://webdesignerwall.com/tutorials/css-elastic-videos */
48+
.video-container {
49+
position: relative;
50+
overflow: hidden;
51+
padding-top: 56.25% e;
52+
// (9/16 * 100)% // 16:9 ratio
53+
height: 0;
54+
55+
iframe,
56+
object,
57+
embed {
58+
position: absolute;
59+
top: 0;
60+
left: 0;
61+
margin-top: 0;
62+
width: 100%;
63+
height: 100%;
64+
}
65+
}
66+
blockquote {
67+
margin: 1rem 10px;
68+
padding: .5em 10px;
69+
background: inherit;
70+
color: $color-quote;
71+
quotes: "\201C" "\201D" "\2018" "\2019";
72+
font-weight: bold;
73+
74+
p {
75+
margin: 0;
76+
}
77+
&:before {
78+
margin-right: .25em;
79+
color: $color-quote;
80+
content: "\201C";
81+
vertical-align: -.4em;
82+
font-size: 2em;
83+
line-height: .1em;
84+
}
85+
footer {
86+
margin: line-height 0;
87+
color: $color-meta;
88+
font-size: 11px;
89+
90+
a {
91+
background-image: linear-gradient(transparent, transparent 5px, $color-meta 5px, $color-meta);
92+
color: $color-meta;
93+
}
94+
a:hover {
95+
background-image: linear-gradient(transparent, transparent 4px, lighten($color-meta, 20%) 4px, lighten($color-meta, 20%));
96+
color: lighten($color-meta, 20%);
97+
}
98+
cite {
99+
&:before {
100+
padding: 0 .5em;
101+
content: "";
102+
}
103+
}
104+
}
105+
}
106+
.pullquote {
107+
margin: 0;
108+
width: 45%;
109+
text-align: left;
110+
111+
&.left {
112+
margin-right: 1em;
113+
margin-left: .5em;
114+
}
115+
&.right {
116+
margin-right: .5em;
117+
margin-left: 1em;
118+
}
119+
}
120+
.caption {
121+
position: relative;
122+
display: block;
123+
margin-top: .5em;
124+
color: $color-meta;
125+
text-align: center;
126+
font-size: .9em;
127+
}
128+
}
129+
}
130+
.posttitle {
131+
text-transform: none;
132+
font-size: 1.5em;
133+
line-height: 1.25;
134+
}
135+
.article-tag {
136+
.tag-link {
137+
&:before {
138+
content: "#";
139+
@include underline(10px, $color-link);
140+
}
141+
}
142+
}
143+
.article-category {
144+
.category-link {
145+
@include underline(10px, $color-link);
146+
}
147+
}
148+
@media (min-width: 480px) {
149+
.article-read-time,
150+
.article-tag,
151+
.article-category {
152+
display: inline;
153+
154+
&:before {
155+
content: "|";
156+
}
157+
}
158+
};

content/about/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
Here there are some info about the group.

content/members/Bonfee.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "Bonfee"
3+
draft: false
4+
---
5+
6+
My name is Vincenzo.

content/members/Simojoviz.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "Simojoviz"
3+
draft: false
4+
---
5+
6+
My name is Simone.

content/members/mircodezorzi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: "mircodezorzi"
3+
draft: false
4+
---
5+
6+
My name is Mirco.

content/members/wapeety.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: "wapeety"
3+
draft: false
4+
---
5+
6+
I tell computers to do things.
7+
8+
Sometimes they listen.

content/posts/DestructiveFarm_Setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ automatically submit them to the checker."
88

99
categories:
1010
- docs
11-
keywords:
11+
tags:
1212
- attack-defense
1313
- infra
1414
author: bhackari

content/posts/Tulip_Setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ summary: "Tulip is a traffic analyzer tool made for A/D CTFs, this post walks yo
66

77
categories:
88
- docs
9-
keywords:
9+
tags:
1010
- attack-defense
1111
- infra
1212
author: bhackari

hugo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ weight = 5
5353
showAllPostsArchive = false
5454

5555
description = "This is the web page of the CyberSecurity student group and CTF team of **Università Ca' Foscari Venezia**."
56-
mainSection = "posts"
57-
mainSectionTitle = "Posts"
58-
mainSections = ['posts']
56+
mainSection = "writeups"
57+
mainSectionTitle = "Writeups"
58+
mainSections = ['writeups']
5959
showAllPostsOnHomePage = false
6060
postsOnHomePage = 5
6161

@@ -64,6 +64,8 @@ weight = 5
6464
show_updated = true
6565
showReadTime = true
6666

67+
tagsOverview = true
68+
6769
[[params.social]]
6870
name = "github"
6971
link = "https://github.com/bhackari"

layouts/posts/single.html

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ .Site.LanguageCode }}">
3+
{{ partial "head.html" . }}
4+
<body class="max-width mx-auto px3 ltr">
5+
<div class="content index py4">
6+
7+
{{ partial "page_nav.html" . }}
8+
9+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
10+
<header>
11+
<h1 class="posttitle" itemprop="name headline">
12+
{{ .Title }}
13+
</h1>
14+
<div class="meta">
15+
<div class="postdate">
16+
{{ $dataFormat := .Site.Params.dateFormat | default "2006-01-02" }}
17+
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format $dataFormat }}</time>
18+
{{ if (and .Site.Params.show_updated (ne .Lastmod .Date)) }}
19+
(Updated: <time datetime="{{ .Lastmod }}" itemprop="dateModified">{{ .Lastmod.Format $dataFormat }}</time>)
20+
{{ end }}
21+
</div>
22+
{{ $showReadTime := .Site.Params.showReadTime | default false }}
23+
{{if $showReadTime}}
24+
<div class="article-read-time">
25+
<i class="far fa-clock"></i>
26+
{{ $readTime := math.Round (div (countwords .Content) 220.0) }}
27+
{{ $readTime }} minute read
28+
</div>
29+
{{ end }}
30+
{{ if gt .Params.categories 0 }}
31+
<div class="article-category">
32+
<i class="fas fa-archive"></i>
33+
{{ range $index, $value := .Params.categories }}
34+
{{ if gt $index 0 }} {{ print ", " }} {{ end }}
35+
<a class="category-link" href="{{ "/categories/" | relLangURL }}{{ $value | urlize }}">{{ $value }}</a>
36+
{{ end }}
37+
</div>
38+
{{ end }}
39+
{{ if gt .Params.tags 0 }}
40+
<div class="article-tag">
41+
<i class="fas fa-tag"></i>
42+
{{ range $index, $value := .Params.tags }}
43+
{{ if gt $index 0 }} {{ print ", " }} {{ end }}
44+
<a class="tag-link" href="{{ "/tags/" | relLangURL }}{{ $value | urlize }}" rel="tag">{{ $value }}</a>
45+
{{ end }}
46+
</div>
47+
{{ end }}
48+
{{ if (or (isset .Site "author") (isset .Params "author"))}}
49+
<br><span class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
50+
<span itemprop="name">
51+
{{ if isset .Params "author" }}
52+
{{ .Params.Author }}
53+
{{ else if isset .Site "author" }}
54+
{{ .Site.Author }}
55+
{{ end }}
56+
</span>
57+
</span>
58+
{{ end }}
59+
</div>
60+
</header>
61+
62+
{{ with .Resources.ByType "image" }}
63+
<div class="article-gallery">
64+
{{ range $index, $value := . }}
65+
<a class="gallery-item" href="{{ .RelPermalink }}" rel="gallery_{{ $index }}">
66+
<img src="{{ .RelPermalink }}" itemprop="image" />
67+
</a>
68+
{{ end }}
69+
</div>
70+
{{ end }}
71+
{{ if .Site.Params.tocInline }}
72+
<div id="toc">
73+
{{ .TableOfContents }}
74+
</div>
75+
{{ end }}
76+
<div class="content" itemprop="articleBody">
77+
{{ .Content}}
78+
</div>
79+
</article>
80+
81+
{{ partial "comments.html" . }}
82+
83+
{{ partial "page_nav_mobile.html" . }}
84+
85+
{{ partial "footer.html" . }}
86+
87+
</div>
88+
</body>
89+
90+
<link rel="stylesheet" href={{ "/lib/font-awesome/css/all.min.css" | relURL }}>
91+
<script src={{ "/lib/jquery/jquery.min.js" | relURL }}></script>
92+
<script src={{ "/js/main.js" | relURL }}></script>
93+
{{ if not (isset site.Params "disablecopy") }}
94+
<script src={{ "js/code-copy.js" | relURL }}></script>
95+
{{ end }}
96+
{{ $mathjax := false }}
97+
{{ if isset .Params "mathjax" }}
98+
{{ $mathjax = .Params.mathjax }}
99+
{{ else if isset .Site.Params "mathjax" }}
100+
{{ $mathjax = .Site.Params.mathjax }}
101+
{{ end }}
102+
{{ if $mathjax }}
103+
<script>
104+
MathJax = {
105+
tex: {
106+
inlineMath: [['$', '$'], ['\\(', '\\)']]
107+
},
108+
svg: {
109+
fontCache: 'global'
110+
}
111+
};
112+
</script>
113+
<script type="text/javascript" id="MathJax-script" async
114+
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
115+
</script>
116+
{{ end }}
117+
</html>

0 commit comments

Comments
 (0)