Skip to content

Commit

Permalink
Release 1.1 (#31)
Browse files Browse the repository at this point in the history
Closes #14
Closes #17
Closes #29
  • Loading branch information
Nurlan Suyundukov committed Feb 13, 2021
1 parent ee6c94c commit 449ad44
Show file tree
Hide file tree
Showing 37 changed files with 759 additions and 2,226 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,19 @@
# Changelog

### Version 1.1

- Treat `avatar` param as link
- Update Bootstrap version to v5
- Use built-in syntax highlighting, instead of `highlight.js`
- Update minimum required Hugo
- Remove jQuery
- Miscellaneous improvements, fixes and accessibility enhancements

### Version 1.0.1

- Added proper "Projects" page rendering
- Miscellaneous improvements, fixes and accessibility enhancements

### Version 1.0

- Initial release
2 changes: 1 addition & 1 deletion LICENSE.md → LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017 Nurlan Su
Copyright (c) 2021 Nurlan Suyundukov

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
17 changes: 3 additions & 14 deletions README.md
Expand Up @@ -13,7 +13,6 @@
- [Google Analytics](#google-analytics)
- [About](#about)
- [Contributing](#contributing)
- [Changelog](#changelog)
- [License](#license)

********************
Expand All @@ -29,7 +28,8 @@
#### With `git`

From the root of your Hugo site, clone the theme into `themes/hugo-sustain` by running :
```

```sh
git clone https://github.com/nurlansu/hugo-sustain.git themes/hugo-sustain
```

Expand Down Expand Up @@ -68,7 +68,7 @@ Copy at least the `config.toml` in the root directory of your website. Overwrite
Hugo includes a development server, so you can view your changes as you go -
very handy. Spin it up with the following command:

``` sh
```sh
hugo serve
```

Expand Down Expand Up @@ -103,17 +103,6 @@ Pull requests, bug fixes, and new features are welcome!
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request on GitHub

## Changelog

> Version 1.0.1
- Added proper "Projects" page rendering
- Fixes, many fixes

> Version 1.0
- Initial release

## License

<p align="center">
Expand Down
14 changes: 8 additions & 6 deletions archetypes/default.md
@@ -1,6 +1,8 @@
+++
title = ""
description = ""
tags = []
categories = []
+++
---
title: '{{ humanize .Name }}'
description: ''
date: {{ .Date }}
draft: true
categories: []
tags: []
---
202 changes: 202 additions & 0 deletions assets/css/main.css
@@ -0,0 +1,202 @@
/* Main page with stikky-footer */
html, body {
height: 100%;
background-color: #fff;
font-family: 'Source Sans Pro', sans-serif;
/* The html and body elements cannot have any padding or margin. */
border-top: 3px solid #27a822;
}

/* Wrapper for page content to push down footer */
#content {
min-height: 100%;
height: auto;
/* Negative indent footer by its height */
margin: 0 auto -69px;
/* Pad bottom by footer height */
padding: 0 0 69px;
}

#about {
font-size: 1.5rem;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus,
.navbar .navbar-link,
.navbar .navbar-link:hover,
.navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-text,
.navbar-toggler {
color: #6b6b6b;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus,
.navbar-nav > .open > a,
.navbar-nav > .open > a:hover,
.navbar-nav > .open > a:focus {
color: #6b6b6b;
background-color: #fff;
}

.navbar-toggler:focus {
box-shadow: none;
}

.navbar-collapse,
.navbar-form {
border-color: #6b6b6b;
}

@media (max-width: 767px) {
.navbar-nav .open .dropdown-menu > li > a {
color: #6b6b6b;
}

.navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-nav .open .dropdown-menu > li > a:focus {
color: #6b6b6b;
}

.navbar-nav .open .dropdown-menu > .active > a,
.navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar-nav .open .dropdown-menu > .active > a:focus {
color: #6b6b6b;
background-color: #fff;
}
}

/* Custom page CSS */
.container {
max-width: 800px;
text-align: center;
}

.container a {
color: #27a822;
text-decoration: none;
}

.container a:hover {
color: #267723;
}

.container p img,
.img-responsive {
display: block;
height: auto;
margin: 2rem auto;
max-width: 100%;
}

.panel {
border-style: none;
}

.panel-body {
padding-top: -10px;
text-align: left;
}

.panel h4 {
text-align: left;
line-height: 24px;
font-size: 22px;
}

.panel h5 {
text-align: left;
line-height: 30px;
font-size: 18px;
}

.panel h6 {
font-size: 15px;
}

.panel h4 a,
h5 a {
color: #27a822;
}

.panel h4 a:hover,
h5 a:hover {
color: #267723;
}

.social-links {
display: block;
margin: 0 auto;
margin-top: 40px;
padding: 0px;
width: 100%;
text-align: center;
animation: fade 1s ease 1s both;
}

.social-links li {
display: inline-block;
padding: 5px;
padding-top: 0;
text-align: center;
}

.social-links li a {
font-size: 20px;
color: #000;
padding: 10px;
padding-bottom: 4px;
transition: all .4s ease;
}

.social-links li a:hover {
color: #000;
}

.avatar {
padding-top: 8vh;
}

.blog-title {
padding-top: 2px;
}

.label {
display: inline-block;
margin-bottom: 5px;
}

.related-posts {
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}

.related-posts h4 {
text-align: center;
}

.page-not-found {
padding-top: 20%;
}

.disqus {
padding-bottom: 15px;
}

.blogpost {
text-align: left;
line-height: 30px;
font-size: 18px;
}

/* Footer */
.footer {
border-bottom: 5px solid #27a822;
padding: 20px 0;
text-decoration: none !important;
}
Empty file added assets/js/.gitkeep
Empty file.
2 changes: 2 additions & 0 deletions exampleSite/.gitignore
@@ -0,0 +1,2 @@
/public
/themes
4 changes: 2 additions & 2 deletions exampleSite/config.toml 100755 → 100644
@@ -1,4 +1,4 @@
baseurl = "https://example.com/"
baseURL = "https://example.com/"
languageCode = "en-US"
title = "Chris Turner"
# Enable comments by entering your Disqus shortname
Expand All @@ -11,7 +11,7 @@ theme = "hugo-sustain"
post = "/:year/:month/:day/:slug"

[params]
avatar = "profile.png"
avatar = "img/profile.png"
author = "Chris Turner"
description = "Describe your website"

Expand Down
19 changes: 19 additions & 0 deletions exampleSite/content/_index.md
@@ -0,0 +1,19 @@
---
---

I'm **Chris Turner**, a Software Engineer.

I love all things computer science and maths.

Have a look at some of my working [projects].

For more check out my academic & professional [resume].

Contact me at [@username] or by [email].



[projects]: /projects
[resume]: https://demo.nurlan.co/hugo-vitae/
[@username]: https://twitter.com/username
[email]: mailto:email@example.com

0 comments on commit 449ad44

Please sign in to comment.