Skip to content

Commit

Permalink
Merge pull request #31 from darshanbaral/not_theme_anymore
Browse files Browse the repository at this point in the history
Not theme anymore
  • Loading branch information
darshanbaral authored Dec 29, 2023
2 parents ba5d7ee + be9a78a commit f011a30
Show file tree
Hide file tree
Showing 23 changed files with 832 additions and 2,008 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.idea
node_modules/
resources
assets/style.css
*.toml_
hugo_stats.json
Empty file added .hugo_build.lock
Empty file.
21 changes: 7 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ The aafu Theme is a responsive portfolio with blog.

## Installation

Inside the folder of your Hugo site run:

$ cd themes
$ git clone https://github.com/darshanbaral/aafu.git

For more information read the official [setup guide](//gohugo.io/overview/installing/) of Hugo.
```shell
git clone https://github.com/darshanbaral/aafu.git
cd aafu
hugo server
```

## Getting started

After installing the aafu Theme successfully, modify the `config.toml` as you wish to generate your online resume.
After cloning the aafu repo, modify the `config.toml` as you wish.

### The config file

Expand All @@ -30,13 +29,7 @@ Go to `static/images` and replace the `profile.jpg` with your own file.

### Theme Colors

The `aafu` theme provides four different theme colors - `light`, `dark`, `ocean`, and `pinkish`. These can be specified in the `config.toml`

```
[params.theme]
# Available themes are 'light', 'dark', `ocean`, and 'pinkish'
mainTheme = "light"
```
The `aafu` theme provides `light` and `dark` theme.

## Reporting Issues

Expand Down
25 changes: 0 additions & 25 deletions assets/postcss.config.js

This file was deleted.

168 changes: 168 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
baseURL: /
languageCode: en-us
build:
writeStats: true
params:
title: aafu theme
author: Darshan Baral
description: Website title
copyright: >-
powered by [hugo](https://gohugo.io/) & deployed on
[netlify](https://www.netlify.com/)
theme:
mainTheme: dark
showAttribute: true
singlePage: false
favicons:
use: true
metas: |2-
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#252627">
<link rel="shortcut icon" href="favicon.ico">
profile:
name: "First Last, Abbr."
tagline: Title
location: "City Name, ST"
photo: profile.jpg
social:
title: Links
list:
- icon: fab fa-linkedin-in
url: "#"
title: LinkedIn
- icon: fab fa-stack-overflow
url: "#"
title: StackOverflow
- icon: fab fa-github
url: "#"
title: GitHub
- icon: fab fa-twitter
url: "#"
title: Twitter
- icon: fab fa-orcid
url: "#"
title: Orcid
- icon: ai ai-google-scholar
url: "#"
title: Google Scholar
- icon: fab fa-researchgate
url: "#"
title: ResearchGate
showInAccordion:
- item: aboutme
expand: true
- item: experience
- item: education
- item: publication
- item: project
- item: skill
- item: hobby
aboutme:
title: About Me
icon: fas fa-user
description: This is a demo of the `aafu` theme. It has `light` and `dark` theme.
experience:
title: Experiences
icon: fas fa-briefcase
list:
- position: Job Title
dates: 2019 - *Present*
company: Company Name
details: >-
Printed from desktop. Sent [emails](#). Called people using telephone.
Drank water from office cooler. Ate donuts on people's birthdays.
- position: Job Title
dates: 2018 - 2019
url: "#"
company: Company Name
education:
title: Education
icon: fas fa-graduation-cap
list:
- degree: Ph.D. in Subject
college: University of State-City
dates: 2013 - 2018
thesis_title: "Effect of humans on other humans: a study of human behavior."
thesis_url: "#"
- degree: M.S. in Subject
college: University of State-City
dates: 2013 - 2018
thesis_title: "Effect of humans on other humans: a study of human behavior."
thesis_url: "#"
- degree: B.S. in Subject
college: University of State-City
dates: 2004 - 2009
publication:
title: Publications
icon: fas fa-book
format:
- date
- title
- authors
- journal
types:
- Journal Articles
- Proceedings
list:
- title: >-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
authors: "F Last, F Second, P secondary"
date: "2018"
journal: "Journal of Field 52 (16), 9033-9044"
url: "#"
type: Journal Articles
- title: >-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
authors: "F Last, F Second, P secondary"
date: "2018"
journal: "Journal of Field 52 (16), 9033-9044"
url: "#"
type: Journal Articles
- title: >-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
authors: "F Last, F Second, P secondary"
date: "2018"
journal: "Journal of Field 52 (16), 9033-9044"
url: "#"
type: Proceedings
project:
title: Projects
icon: fas fa-project-diagram
list:
- title: Project 1
url: "#"
description: Description of the project
- title: Project 2
url: "#"
description: Description of the project
- title: Project 3
url: "#"
description: Description of the project
- title: Project 4
url: "#"
description: Description of the project
skill:
title: Skills
panelId: skill-panel
icon: fas fa-cogs
list:
- skill: "Skill 1, Skill 2"
skillrating: 90
- skill: Skill 3
skillrating: 80
- skill: Skill 4
skillrating: 50
hobby:
title: Hobbies
icon: fas fa-gamepad
list:
- hobby: Cooking
- hobby: Hiking
- hobby: Baking
4 changes: 4 additions & 0 deletions content/blog/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: "aafu theme"
weight: 100
---
147 changes: 147 additions & 0 deletions content/blog/markdown_syntax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
+++
author = "Darshan Baral"
title = "Demo Page"
date = "2022-11-19"
description = "Sample article showcasing formatting for HTML elements."
tags = [
"markdown",
"css",
"html",
"themes",
]
categories = [
"themes",
"syntax",
]
+++

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>``<h5>` elements represent five levels of section headings.

# H1
## H2
### H3
#### H4
##### H5

## Paragraph

Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Here is a [hyperlink](#). Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.

Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.

## Blockquotes

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.

#### Blockquote without attribution

> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
> **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 supports them out-of-the-box.

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

## Code Blocks

#### Code block with backticks

```
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
```
#### Code block indented with four spaces

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>

#### Code block with Hugo's internal highlight shortcode
{{< highlight html >}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
{{< /highlight >}}

## List Types

#### Ordered List

1. First item
2. Second item
3. Third item

#### Unordered List

* List item
* Another item
* And another item

#### Nested list

* Item 1
1. First Sub-item
* primary
* secondary
2. Second Sub-item
* Item 2

## Other Elements — abbr, sub, sup, kbd, mark

<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format.

H<sub>2</sub>O

X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>

Press <kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd> to end the session.

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

File renamed without changes.
Loading

0 comments on commit f011a30

Please sign in to comment.