generated from HugoBlox/theme-portfolio
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 164dda1
Showing
39 changed files
with
946 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.toml] | ||
max_line_length = 100 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[layouts/shortcodes/*.html] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: gcushen | ||
custom: https://hugoblox.com/sponsor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Deploy website to GitHub Pages | ||
|
||
env: | ||
WC_HUGO_VERSION: '0.119.0' | ||
|
||
on: | ||
# Trigger the workflow every time you push to the `main` branch | ||
push: | ||
branches: ["main"] | ||
# Allows you to run this workflow manually from the Actions tab on GitHub. | ||
workflow_dispatch: | ||
|
||
# Provide permission to clone the repo and deploy it to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build website | ||
build: | ||
if: github.repository_owner != 'HugoBlox' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# Fetch history for Hugo's .GitInfo and .Lastmod | ||
fetch-depth: 0 | ||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: ${{ env.WC_HUGO_VERSION }} | ||
extended: true | ||
- uses: actions/cache@v3 | ||
with: | ||
path: /tmp/hugo_cache_runner/ | ||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }} | ||
restore-keys: | | ||
${{ runner.os }}-hugomod- | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
- name: Build with Hugo | ||
env: | ||
HUGO_ENVIRONMENT: production | ||
run: | | ||
echo "Hugo Cache Dir: $(hugo config | grep cachedir)" | ||
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: ./public | ||
|
||
# Deploy website to GitHub Pages hosting | ||
deploy: | ||
if: github.repository_owner != 'HugoBlox' | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# IDEs | ||
.idea/ | ||
|
||
# Hugo | ||
resources/ | ||
public/ | ||
assets/jsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# [Hugo Portfolio Theme](https://github.com/wowchemy/starter-hugo-portfolio-theme) | ||
|
||
[![Screenshot](./preview.png)](https://hugoblox.com/hugo-themes/) | ||
|
||
The **Hugo Portfolio Template** empowers you to easily create a portfolio website. Make it your own by choosing a color theme and grid layout! | ||
|
||
️**Trusted by 250,000+ researchers, educators, and students.** Highly customizable via the integrated **no-code, widget-based Wowchemy page builder**, making every site truly personalized ⭐⭐⭐⭐⭐ | ||
|
||
[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://hugoblox.com/hugo-themes/) | ||
[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138) | ||
[![Twitter Follow](https://img.shields.io/twitter/follow/GetResearchDev?label=Follow%20on%20Twitter)](https://twitter.com/wowchemy) | ||
|
||
[Check out the latest demo](https://hugo-portfolio-theme.netlify.app/) of what you'll get in less than 10 minutes, or [view the showcase](https://hugoblox.com/creators/). | ||
|
||
The integrated [**Wowchemy**](https://hugoblox.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs. | ||
|
||
- 👉 [**Get Started**](https://hugoblox.com/hugo-themes/) | ||
- 📚 [View the **documentation**](https://docs.hugoblox.com/) | ||
- 💬 [Chat with the **Wowchemy research community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io) | ||
- ⬇️ **Automatically import citations from BibTeX** with the [Hugo Academic CLI](https://github.com/GetRD/academic-file-converter) | ||
- 🐦 Share your new site with the community: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query) | ||
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA) | ||
- 🚀 [Contribute improvements](https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md) or [suggest improvements](https://github.com/HugoBlox/hugo-blox-builder/issues) | ||
- ⬆️ **Updating?** View the [Update Guide](https://docs.hugoblox.com/hugo-tutorials/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases) | ||
|
||
## We ask you, humbly, to support this open source movement | ||
|
||
Today we ask you to defend the open source independence of the Wowchemy website builder and themes 🐧 | ||
|
||
We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way. | ||
|
||
### [❤️ Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
// Starter Blog Template | ||
// https://hugoblox.com/hugo-themes/ | ||
|
||
body { | ||
background-color: rgb(247, 250, 252); | ||
} | ||
|
||
.article-container { | ||
background-color: #fff; | ||
border-radius: 15px; | ||
} | ||
|
||
.dark .article-container { | ||
background-color: rgb(31, 39, 51); | ||
} | ||
|
||
// custom footer color | ||
.page-footer { | ||
background-color: rgb(247, 250, 252); | ||
} | ||
|
||
.dark .page-footer { | ||
background-color: rgb(26, 32, 44); | ||
} | ||
|
||
// more rounded cards and larger gap between cards | ||
.card-simple { | ||
margin-top: 1.8rem; | ||
border-radius: 15px; | ||
} | ||
|
||
.dark .card-simple { | ||
background: rgb(31, 39, 51); | ||
} | ||
|
||
// no navbar shadow | ||
.navbar { | ||
box-shadow: none !important; // 'important' to override dark mode box-shadow too. | ||
} | ||
|
||
// custom section padding | ||
.home-section { | ||
padding: 1rem 0; | ||
} | ||
|
||
.home-section.wg-about-avatar { | ||
padding: 0; | ||
} | ||
|
||
#profile .network-icon { | ||
margin-top: 0.5rem; | ||
} | ||
|
||
ul.network-icon .big-icon { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.dark .portrait-title h3 { | ||
color: rgba(255, 255, 255, 0.9); | ||
font-weight: bold; | ||
} | ||
|
||
.dark .portrait-title h2 { | ||
color: #fff; | ||
font-weight: bold; | ||
} | ||
|
||
.home-section > .content { | ||
width: 45em; | ||
max-width: calc(100% - 4em); | ||
margin: 0 auto; | ||
} | ||
|
||
.home-section > .content > :last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
.home-section header { | ||
margin-bottom: 1em; | ||
} | ||
|
||
// Narrower container for Hello World sections (primarily Blank widget content). | ||
@media (min-width: 1200px) { | ||
.home-section .container { | ||
max-width: 880px; | ||
} | ||
} | ||
@media (min-width: 992px) { | ||
.home-section .container { | ||
max-width: 880px; | ||
} | ||
} | ||
|
||
// Custom avatar size on homepage | ||
.avatar { | ||
width: auto; | ||
height: auto; | ||
max-width: 225px; | ||
max-height: 225px; | ||
} | ||
|
||
// Prevent stretching on About page with narrow container | ||
.wg-about .avatar { | ||
width: auto; | ||
height: auto; | ||
max-width: 200px; | ||
max-height: 200px; | ||
} | ||
|
||
// Smaller Name and Role text on About page than in homepage `about.avatar` widget | ||
.wg-about .portrait-title h2 { | ||
font-size: 1rem; | ||
} | ||
|
||
.wg-about .portrait-title h3 { | ||
font-size: 0.8rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Configuration of Hugo | ||
# Guide: https://docs.hugoblox.com/tutorial/ | ||
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings | ||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ | ||
|
||
title: Hugo Portfolio Theme # Website name | ||
baseURL: 'https://example.com/' # Website URL | ||
|
||
############################ | ||
## PAGE OPTIONS | ||
############################ | ||
|
||
cascade: | ||
# Blog post options | ||
- _target: | ||
path: /post/** | ||
editable: true | ||
reading_time: true | ||
commentable: true | ||
show_related: true | ||
show_breadcrumb: true | ||
|
||
############################ | ||
## LANGUAGE | ||
############################ | ||
|
||
defaultContentLanguage: en | ||
hasCJKLanguage: false | ||
defaultContentLanguageInSubdir: false | ||
removePathAccents: true | ||
|
||
############################ | ||
## ADVANCED | ||
############################ | ||
|
||
enableGitInfo: false | ||
summaryLength: 30 | ||
paginate: 10 | ||
enableEmoji: true | ||
enableRobotsTXT: true | ||
footnotereturnlinkcontents: <sup>^</sup> | ||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$] | ||
permalinks: | ||
authors: '/author/:slug/' | ||
tags: '/tag/:slug/' | ||
categories: '/category/:slug/' | ||
disableAliases: true | ||
outputs: | ||
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects] | ||
section: [HTML, RSS] | ||
imaging: | ||
resampleFilter: lanczos | ||
quality: 75 | ||
anchor: smart | ||
timeout: 600000 | ||
taxonomies: | ||
tag: tags | ||
category: categories | ||
author: authors | ||
markup: | ||
_merge: deep | ||
related: | ||
threshold: 80 | ||
includeNewer: true | ||
toLower: true | ||
indices: | ||
- name: tags | ||
weight: 100 | ||
- name: categories | ||
weight: 70 | ||
security: | ||
_merge: deep | ||
sitemap: | ||
_merge: deep | ||
minify: | ||
_merge: deep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Languages | ||
# Create a section for each of your site's languages. | ||
# Documentation: https://docs.hugoblox.com/reference/language/ | ||
|
||
# Default language | ||
en: | ||
languageCode: en-us | ||
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder. | ||
#contentDir: content/en | ||
|
||
# Uncomment the lines below to configure your website in a second language. | ||
#zh: | ||
# languageCode: zh-Hans | ||
# contentDir: content/zh | ||
# title: Chinese website title... | ||
# params: | ||
# description: Site description in Chinese... | ||
# menu: | ||
# main: | ||
# - name: 传 | ||
# url: '#about' | ||
# weight: 1 |
Oops, something went wrong.