Skip to content

Commit

Permalink
chore: Update author names in content files to "Anubhav Gain"
Browse files Browse the repository at this point in the history
  • Loading branch information
mranv committed Jun 20, 2024
1 parent 5a60d58 commit 0b62ec0
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 35 deletions.
14 changes: 6 additions & 8 deletions content/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ title = "About"
description = "Hugo, the world’s fastest framework for building websites"
date = "2019-02-28"
aliases = ["about-us","about-hugo","contact"]
author = "Hugo Authors"
author = "Anubhav Gain"
+++

Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.

Hugo makes use of a variety of open source projects including:

* https://github.com/yuin/goldmark
* https://github.com/alecthomas/chroma
* https://github.com/muesli/smartcrop
* https://github.com/spf13/cobra
* https://github.com/spf13/viper
- https://github.com/yuin/goldmark
- https://github.com/alecthomas/chroma
- https://github.com/muesli/smartcrop
- https://github.com/spf13/cobra
- https://github.com/spf13/viper

Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.

Expand All @@ -23,5 +23,3 @@ Hugo is for people who want to hand code their own website without worrying abou
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.

Learn more and contribute on [GitHub](https://github.com/gohugoio).


2 changes: 1 addition & 1 deletion content/post/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
aliases = ["posts","articles","blog","showcase","docs"]
title = "Posts"
author = "Hugo Authors"
author = "Anubhav Gain"
tags = ["index"]
+++
15 changes: 9 additions & 6 deletions content/post/emoji-support.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
author = "Hugo Authors"
author = "Anubhav Gain"
title = "Emoji Support"
date = "2019-03-05"
description = "Guide to emoji usage in Hugo"
Expand All @@ -8,19 +8,20 @@ tags = [
]
+++

Emoji can be enabled in a Hugo project in a number of ways.
Emoji can be enabled in a Hugo project in a number of ways.

<!--more-->
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).

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.
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).

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.

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

The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.

***
---

**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.

Expand All @@ -31,6 +32,7 @@ font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,And
{{< /highlight >}}

{{< css.inline >}}

<style>
.emojify {
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols;
Expand All @@ -44,4 +46,5 @@ font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,And
}
}
</style>
{{< /css.inline >}}

{{< /css.inline >}}
38 changes: 23 additions & 15 deletions content/post/markdown-syntax.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
author = "Hugo Authors"
author = "Anubhav Gain"
title = "Markdown Syntax Guide"
date = "2019-03-11"
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
Expand All @@ -18,17 +18,23 @@ aliases = ["migrate-from-jekyl"]
+++

This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.

<!--more-->

## Headings

The following HTML `<h1>``<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.

# H1

## H2

### H3

#### H4

##### H5

###### H6

## Paragraph
Expand All @@ -44,30 +50,29 @@ The blockquote element represents content that is quoted from another source, op
#### Blockquote without attribution

> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **Note** that you can use *Markdown syntax* within a blockquote.
> **Note** that you can use _Markdown syntax_ within a blockquote.
#### Blockquote with attribution

> Don't communicate by sharing memory, share memory by communicating.</p>
> — <cite>Rob Pike[^1]</cite>

[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.

## Tables

Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.

Name | Age
--------|------
Bob | 27
Alice | 23
| Name | Age |
| ----- | --- |
| Bob | 27 |
| Alice | 23 |

#### Inline Markdown within tables

| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
| ---------- | --------- | ----------------- | ---------- |
| *italics* | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |
| Inline&nbsp;&nbsp;&nbsp; | Markdown&nbsp;&nbsp;&nbsp; | In&nbsp;&nbsp;&nbsp; | Table |
| ------------------------ | -------------------------- | ----------------------------------- | ------ |
| _italics_ | **bold** | ~~strikethrough~~&nbsp;&nbsp;&nbsp; | `code` |

## Code Blocks

Expand All @@ -86,6 +91,7 @@ html
</body>
</html>
```

#### Code block indented with four spaces

<!DOCTYPE html>
Expand All @@ -100,7 +106,9 @@ html
</html>

#### Code block with Hugo's internal highlight shortcode

{{< highlight html >}}

<!DOCTYPE html>
<html lang="en">
<head>
Expand All @@ -123,13 +131,14 @@ html

#### Unordered List

* List item
* Another item
* And another item
- List item
- Another item
- And another item

#### Nested list

* Item
- Item

1. First Sub-item
2. Second Sub-item

Expand All @@ -144,4 +153,3 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session.

Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.

2 changes: 1 addition & 1 deletion content/post/math-typesetting.mmark
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
author: Hugo Authors
author: Anubhav Gain
title: Math Typesetting
date: 2019-03-08
description: A brief guide to setup KaTeX
Expand Down
6 changes: 4 additions & 2 deletions content/post/placeholder-text.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
author = "Hugo Authors"
author = "Anubhav Gain"
title = "Placeholder Text"
date = "2019-03-09"
description = "Lorem Ipsum Dolor Si Amet"
Expand Down Expand Up @@ -48,11 +48,13 @@ Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert
ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae
vulnus haerentia iuste et exercebat, sui et.

Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem
Propoetides **parte**.

{{< css.inline >}}

<style>
.canon { background: white; width: 100%; height: auto;}
</style>

{{< /css.inline >}}
2 changes: 1 addition & 1 deletion content/post/rich-content.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
author = "Hugo Authors"
author = "Anubhav Gain"
title = "Rich Content"
date = "2019-03-10"
description = "A brief description of Hugo Shortcodes"
Expand Down
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ preserveTaxonomyNames = true
mainpagesubtitle = "Welcome to the early 90s!"

# The description of your website. It will be displayed in the home page
mainpagedesc = "This theme is the Hugo port of the BOOTSTRA.386 theme for a cool retro look on your blog. Check the links below to access the posts."
mainpagedesc = "A blog theme inspired by the Windows 95 operating system."

# The name to display in the copyright section in the footer
copyrightname = "Anubhav Gain"
Expand Down

0 comments on commit 0b62ec0

Please sign in to comment.