Skip to content

Commit ceaca26

Browse files
committed
fixed index file
1 parent fa97cd9 commit ceaca26

4 files changed

Lines changed: 56 additions & 26 deletions

File tree

content/post/_index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
+++
2+
aliases = ["posts", "articles", "blog", "showcase", "docs"]
3+
title = "Posts"
4+
author = "Hugo Authors"
5+
tags = ["index"]
6+
+++

content/post/emoji-support.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
+++
2+
author = "Hugo Authors"
3+
title = "Emoji Support"
4+
date = "2019-03-05"
5+
description = "Guide to emoji usage in Hugo"
6+
tags = [
7+
"emoji",
8+
]
9+
+++
10+
11+
Emoji can be enabled in a Hugo project in a number of ways.
12+
<!--more-->
13+
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
14+
15+
To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
16+
17+
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p>
18+
<br>
19+
20+
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
21+
22+
***
23+
24+
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g.
25+
26+
{{< highlight html >}}
27+
.emoji {
28+
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
29+
}
30+
{{< /highlight >}}
31+
32+
{{< css.inline >}}
33+
<style>
34+
.emojify {
35+
font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
36+
font-size: 2rem;
37+
vertical-align: middle;
38+
}
39+
@media screen and (max-width:650px) {
40+
.nowrap {
41+
display: block;
42+
margin: 25px 0;
43+
}
44+
}
45+
</style>
46+
{{< /css.inline >}}

content/post/idek-CTF-2022/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
+++
22
author = "dree"
33
title = "idek CTF 2023"
4-
date = "2022-01-24"
4+
date = "2023-01-24"
55
tags = [
66
"OSINT", "Forensics"
77
]
@@ -12,6 +12,8 @@ tags = [
1212

1313
<!--more-->
1414

15+
---
16+
1517
# HiddenGem Mixtape 1: Initial Access
1618
Authors: `Bquanman`
1719
Points: **478**
@@ -54,6 +56,6 @@ And there we see a `$flag` variable, signaling this is likely our flag. Running
5456

5557
{{< img src="idek-CTF-2022/tiooutput.png" >}}
5658

57-
And we get the flag! As well as Resource: https://sensepost.com/blog/2016/powershell-c-sharp-and-dde-the-power-within
59+
And we get the flag! As well as the resource: https://sensepost.com/blog/2016/powershell-c-sharp-and-dde-the-power-within
5860

5961
flag: `sdctf{morning_noon_and_night_I_meme}`

layouts/shortcodes/img.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)