mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
starters: redesign of Minimal template
This commit is contained in:
parent
719dcbe8f8
commit
1325f0a9c1
10 changed files with 129 additions and 84 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
HUGO_MODULE_REPLACEMENTS="github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 -> ../../../wowchemy,github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 -> ../../../wowchemy-cms" \
|
||||
hugo server -F --port 80 --bind 0.0.0.0 \
|
||||
hugo server --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
HUGOxPARAMSxCMSxLOCAL_BACKEND=true \
|
||||
hugo server -F --port 80 --bind 0.0.0.0 \
|
||||
hugo server --renderStaticToDisk -F --port 80 --bind 0.0.0.0 \
|
||||
--source "starters/$1"
|
||||
|
|
|
@ -1,13 +1,27 @@
|
|||
// Minimal template style
|
||||
|
||||
// Narrower container for homepage sections (primarily Blank widget content).
|
||||
@media (min-width: 1200px) {
|
||||
.home-section .container {
|
||||
max-width: 880px;
|
||||
}
|
||||
// Custom avatar size on homepage
|
||||
.avatar {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 225px;
|
||||
max-height: 225px;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.home-section .container {
|
||||
max-width: 880px;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
|
|
11
starters/minimal/content/authors/_index.md
Normal file
11
starters/minimal/content/authors/_index.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
cms_exclude: true
|
||||
|
||||
# To publish author profile pages, remove all of the `_build` and `cascade` settings below.
|
||||
_build:
|
||||
render: never
|
||||
cascade:
|
||||
_build:
|
||||
render: never
|
||||
list: always
|
||||
---
|
60
starters/minimal/content/authors/admin/_index.md
Normal file
60
starters/minimal/content/authors/admin/_index.md
Normal file
|
@ -0,0 +1,60 @@
|
|||
---
|
||||
# Display name
|
||||
title: 吳恩達
|
||||
name_pronunciation: Wu En da
|
||||
|
||||
# Is this the primary user of the site?
|
||||
superuser: true
|
||||
|
||||
# Role/position
|
||||
role: ''
|
||||
|
||||
# Status emoji
|
||||
status:
|
||||
icon: ☕️
|
||||
|
||||
# Organizations/Affiliations
|
||||
#organizations:
|
||||
#- name: 腾讯
|
||||
# url: ""
|
||||
|
||||
# Short bio (displayed in user profile at end of posts)
|
||||
bio: My research interests include distributed robotics, mobile computing and programmable matter.
|
||||
|
||||
# Social/Academic Networking
|
||||
# For available icons, see: https://wowchemy.com/docs/getting-started/page-builder/#icons
|
||||
# For an email link, use "fas" icon pack, "envelope" icon, and a link in the
|
||||
# form "mailto:your-email@example.com" or "#contact" for contact widget.
|
||||
social:
|
||||
- icon: envelope
|
||||
icon_pack: fas
|
||||
link: 'mailto:test@example.org'
|
||||
- icon: twitter
|
||||
icon_pack: fab
|
||||
link: https://twitter.com/wowchemy
|
||||
- icon: instagram
|
||||
icon_pack: fab
|
||||
link: https://www.instagram.com/spacex/
|
||||
- icon: weibo
|
||||
icon_pack: fab
|
||||
link: ttps://weibo.com/p/1008088f0ff813c3676d81a04a616ba555af0c/super_index
|
||||
- icon: tiktok
|
||||
icon_pack: fab
|
||||
link: https://www.tiktok.com/@spacex.to.mars
|
||||
- icon: orcid
|
||||
icon_pack: fab
|
||||
link: https://orcid.org/0000-0001-5547-3196
|
||||
- icon: github
|
||||
icon_pack: fab
|
||||
link: https://github.com/gcushen
|
||||
# Link to a PDF of your resume/CV from the About widget.
|
||||
# To enable, copy your resume/CV to `static/uploads/resume.pdf`
|
||||
- icon: file-pdf
|
||||
icon_pack: fas
|
||||
label: View Resume
|
||||
link: uploads/resume.pdf
|
||||
|
||||
# Enter email to display Gravatar (if Gravatar enabled in Config)
|
||||
#email: ""
|
||||
---
|
||||
|
BIN
starters/minimal/content/authors/admin/avatar.jpg
Normal file
BIN
starters/minimal/content/authors/admin/avatar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
|
@ -1,73 +0,0 @@
|
|||
---
|
||||
# A Demo section created with the Blank widget.
|
||||
# Any elements can be added in the body: https://wowchemy.com/docs/writing-markdown-latex/
|
||||
# Add more sections by duplicating this file and customizing to your requirements.
|
||||
|
||||
widget: blank # See https://wowchemy.com/docs/page-builder/
|
||||
headless: true # This file represents a page section.
|
||||
weight: 10 # Order that this section will appear.
|
||||
|
||||
title: '👋 Hollie Beau is the Chief Data Officer at Tidbit Games in Shanghai.'
|
||||
subtitle: ''
|
||||
|
||||
design:
|
||||
# Choose how many columns the section has. Valid values: 1 or 2.
|
||||
columns: '1'
|
||||
background:
|
||||
# Apply a background color, gradient, or image.
|
||||
# Uncomment (by removing `#`) an option to apply it.
|
||||
# Choose a light or dark text color by setting `text_color_light`.
|
||||
# Any HTML color name or Hex value is valid.
|
||||
color: black
|
||||
# gradient_start: DarkGreen
|
||||
# gradient_end: ForestGreen
|
||||
image: hello.jpg # Name of image in `static/media/`.
|
||||
image_darken: 0.4
|
||||
image_size: cover
|
||||
image_position: right
|
||||
image_parallax: true
|
||||
text_color_light: true
|
||||
advanced:
|
||||
css_style:
|
||||
css_class: fullscreen
|
||||
---
|
||||
|
||||
## My Mission
|
||||
|
||||
Use this area to speak to your mission. Maecenas a varius odio egestas auctor. Praesent facilisis, ex a gravida ultricies, quam sed magna placerat eros, et vehicula lectus ligula id dui. Aliquam uto cursus velit ut eros lorem ipsum ullamcorper iaculis.
|
||||
|
||||
## Specialties
|
||||
|
||||
Analytics & Data, Leadership, Programming, Strategic Planning, Writing & Editing
|
||||
|
||||
## Experience
|
||||
|
||||
### Tidbit Games
|
||||
|
||||
#### Chief Data Officer • Jan 2015 - Current • Shanghai
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
|
||||
### AI Soup
|
||||
|
||||
#### Research Manager • Jan 2010 - Jan 2015 • Beijing
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
|
||||
## Education
|
||||
|
||||
### Tsinghua University
|
||||
|
||||
#### PhD AI • Jan 2005 - Jan 2010 • Beijing
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
||||
|
||||
## Get in Touch
|
||||
|
||||
[{{< icon name="envelope" pack="fas" >}}Email](mailto:me@example.com)
|
||||
[{{< icon name="twitter" pack="fab" >}}Twitter](https://twitter.com/wowchemy)
|
||||
{{< icon name="weixin" pack="fab" >}}微信用户名
|
||||
|
||||
## Credits
|
||||
|
||||
[Demo background image](https://unsplash.com/photos/mNSOLgnDGzA)
|
33
starters/minimal/content/home/intro.md
Normal file
33
starters/minimal/content/home/intro.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
# Use the Intro widget of the Blog template
|
||||
widget: about.avatar
|
||||
|
||||
# This file represents a page section.
|
||||
headless: true
|
||||
|
||||
# Order that this section will appear in.
|
||||
weight: 10
|
||||
|
||||
author: admin
|
||||
design:
|
||||
# Choose how many columns the section has. Valid values: 1 or 2.
|
||||
columns: '1'
|
||||
background:
|
||||
# Apply a background color, gradient, or image.
|
||||
# Uncomment (by removing `#`) an option to apply it.
|
||||
# Choose a light or dark text color by setting `text_color_light`.
|
||||
# Any HTML color name or Hex value is valid.
|
||||
color: black
|
||||
# gradient_start: DarkGreen
|
||||
# gradient_end: ForestGreen
|
||||
image: hello.jpg # Name of image in `static/media/`.
|
||||
image_darken: 0.4
|
||||
image_size: cover
|
||||
image_position: right
|
||||
image_parallax: true
|
||||
text_color_light: true
|
||||
css_class: d-flex fullscreen align-items-center
|
||||
---
|
||||
|
||||
👋 Hi, there! I'm **Alice**, a machine learning researcher at Netflix.
|
||||
{style="font-size: 1.2rem; background: #FFB76B; background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"}
|
BIN
starters/minimal/static/uploads/resume.pdf
Normal file
BIN
starters/minimal/static/uploads/resume.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue