Skip to content

Commit e326254

Browse files
author
BDHU
committed
back to minimalist
1 parent 025e949 commit e326254

27 files changed

+1789
-397
lines changed

Gemfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
source "https://rubygems.org"
2+
3+
# gem "github-pages", group: :jekyll_plugins
4+
5+
gem "jekyll-seo-tag"
6+
gem "jekyll-sitemap"
7+
gem "jekyll-remote-theme"
8+
9+
# https://github.com/jekyll/jekyll/issues/8523#issuecomment-751409319
10+
# When running locally, we run into the following error —
11+
# `require': cannot load such file -- webrick (LoadError)
12+
# adding this avoids it
13+
gem "webrick"
14+
15+
# adding the following gems to support removal of "github-pages" dependency
16+
gem "jemoji"
17+
gem "kramdown-parser-gfm"

_config.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
title: Bodun Hu
2+
logo: /assets/img/logo.jpg
3+
email: bodunhu at utexas.edu
4+
blank_title: true
5+
favicon: true
6+
description: ""
7+
show_downloads: false
8+
google_analytics: UA-108144808-1
9+
remote_theme: BDHU/minimalist
10+
color-scheme: auto
11+
plugins:
12+
- jekyll-sitemap
13+
- jekyll-seo-tag
14+
- jemoji
15+
- jekyll-remote-theme
16+
17+
sidebar:
18+
- name: CV
19+
icon: <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align:-0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2"><path stroke-linecap="round" d="M4 4v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.342a2 2 0 0 0-.602-1.43l-4.44-4.342A2 2 0 0 0 13.56 2H6a2 2 0 0 0-2 2Zm5 9h6m-6 4h3"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/></g></svg>
20+
link: /cv.pdf
21+
- name: Google Scholar
22+
icon: <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align:-0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M5.242 13.769L0 9.5L12 0l12 9.5l-5.242 4.269C17.548 11.249 14.978 9.5 12 9.5c-2.977 0-5.548 1.748-6.758 4.269zM12 10a7 7 0 1 0 0 14a7 7 0 0 0 0-14z" fill="currentColor"/></svg>
23+
link: https://scholar.google.com/citations?user=zR6afi8AAAAJ
24+
- name: GitHub
25+
icon: <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align:-0.125em;" width="0.97em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6c-3.3.3-5.6-1.3-5.6-3.6c0-2 2.3-3.6 5.2-3.6c3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9c2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9c.3 2 2.9 3.3 5.9 2.6c2.9-.7 4.9-2.6 4.6-4.6c-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2c12.8 2.3 17.3-5.6 17.3-12.1c0-6.2-.3-40.4-.3-61.4c0 0-70 15-84.7-29.8c0 0-11.4-29.1-27.8-36.6c0 0-22.9-15.7 1.6-15.4c0 0 24.9 2 38.6 25.8c21.9 38.6 58.6 27.5 72.9 20.9c2.3-16 8.8-27.1 16-33.7c-55.9-6.2-112.3-14.3-112.3-110.5c0-27.5 7.6-41.3 23.6-58.9c-2.6-6.5-11.1-33.3 2.6-67.9c20.9-6.5 69 27 69 27c20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27c13.7 34.7 5.2 61.4 2.6 67.9c16 17.7 25.8 31.5 25.8 58.9c0 96.5-58.9 104.2-114.8 110.5c9.2 7.9 17 22.9 17 46.4c0 33.7-.3 75.4-.3 83.6c0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252C496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2c1.6 1.6 3.9 2.3 5.2 1c1.3-1 1-3.3-.7-5.2c-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9c1.6 1 3.6.7 4.3-.7c.7-1.3-.3-2.9-2.3-3.9c-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2c2.3 2.3 5.2 2.6 6.5 1c1.3-1.3.7-4.3-1.3-6.2c-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9c1.6 2.3 4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2c-1.4-2.3-4-3.3-5.6-2z"/></svg>
26+
link: https://github.com/BDHU
27+
- name: Twitter
28+
icon: <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align:-0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645c0 138.72-105.583 298.558-298.558 298.558c-59.452 0-114.68-17.219-161.137-47.106c8.447.974 16.568 1.299 25.34 1.299c49.055 0 94.213-16.568 130.274-44.832c-46.132-.975-84.792-31.188-98.112-72.772c6.498.974 12.995 1.624 19.818 1.624c9.421 0 18.843-1.3 27.614-3.573c-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319c-28.264-18.843-46.781-51.005-46.781-87.391c0-19.492 5.197-37.36 14.294-52.954c51.655 63.675 129.3 105.258 216.365 109.807c-1.624-7.797-2.599-15.918-2.599-24.04c0-57.828 46.782-104.934 104.934-104.934c30.213 0 57.502 12.67 76.67 33.137c23.715-4.548 46.456-13.32 66.599-25.34c-7.798 24.366-24.366 44.833-46.132 57.827c21.117-2.273 41.584-8.122 60.426-16.243c-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
29+
link: https://twitter.com/BodunHu
30+
- name: Blog
31+
icon: <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align:-0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path fill="currentColor" d="M362.7 19.32c25-24.998 65.6-24.998 90.6 0l39.4 39.43c25 24.99 25 65.55 0 90.55l-48.4 48.4l-130-129.98l48.4-48.4zm59 200.98L188.5 453.4c-10.4 10.4-23.3 18.1-37.4 22.2L30.77 511c-8.42 2.5-17.53.2-23.74-6.9c-6.21-5.3-8.532-14.4-6.054-22.9L36.37 360.9c4.16-14.1 11.79-27 22.2-37.4L291.7 90.34l130 129.96z"/></svg>
32+
link: https://www.bodunhu.com/blog/
33+
34+
# https://github.com/github/pages-gem/issues/399#issuecomment-301827749
35+
# When running locally, we run into the following error —
36+
# GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
37+
# adding this avoids it
38+
github: [metadata]
39+
40+
cdn:
41+
jsdelivr:
42+
enabled: true

_includes/footer.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p><small>Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://www.bodunhu.com/minimalist/">Minimalist</a></small></p>

_includes/head-custom.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- Setup Google Analytics -->
2+
{% include head-custom-google-analytics.html %}
3+
4+
<!-- You can set your favicon here -->
5+
{% if site.favicon %}
6+
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}">
7+
{% endif %}
8+
9+
<link rel="preload" href="/assets/img/wordcloud.svg" as="image">
10+
11+
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
12+
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"> -->
13+
14+
<!-- end custom head snippets -->

_includes/links-mobile.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<div class="link-wrapper-mobile" id="link-wrapper-mobile">
2+
<!-- <style scoped>
3+
#link-wrapper-mobile a {
4+
color:var(--clr-h1-and-bold);
5+
text-decoration:none;
6+
}
7+
8+
#link-wrapper-mobile a:hover, a:focus {
9+
color: var(--clr-a-text-hvr);
10+
}
11+
</style> -->
12+
{%- for platform in site.sidebar %}
13+
<nobr><a href="{{ platform.link }}" rel="me">{{ platform.name }}</a>
14+
{%- unless forloop.last %} / {% endunless %}</nobr>
15+
{%- endfor %}
16+
</div>

_layouts/default.html

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{% case site.color-scheme %}
2+
{% when "", nil, false, 0, empty %}
3+
{% assign ColorScheme = "auto" %}
4+
{% else %}
5+
{% assign ColorScheme = site.color-scheme %}
6+
{% endcase %}
7+
8+
{% assign assets_base_url = "https://cdn.jsdelivr.net/gh/BDHU/bdhu.github.io" %}
9+
{% assign theme_assets_base_url = "https://cdn.jsdelivr.net/gh/BDHU/minimalist" %}
10+
11+
<!DOCTYPE html>
12+
<html lang="{{ site.lang | default: "en-US" }}">
13+
<head>
14+
<meta charset="UTF-8">
15+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
16+
<meta name="viewport" content="width=device-width, initial-scale=1">
17+
18+
{% seo %}
19+
<link rel="stylesheet" href="{{ "/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", ColorScheme | append: site.github.build_revision | relative_url }}">
20+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
21+
22+
{% if site.cdn.jsdelivr.enabled %}
23+
<link rel="preload" href="{{ assets_base_url }}{{ site.logo }}" as="image">
24+
{% else %}
25+
<link rel="preload" href="{{ site.logo | relative_url }}" as="image">
26+
{% endif %}
27+
28+
{% include head-custom.html %}
29+
</head>
30+
<body>
31+
<div class="wrapper">
32+
<div class="sidebar">
33+
<header>
34+
{% if site.logo %}
35+
{% if site.cdn.jsdelivr.enabled %}
36+
<img class="img-circle" src="{{ assets_base_url }}{{ site.logo }}" alt="Logo">
37+
{% else %}
38+
<img class="img-circle" src="{{ site.logo | relative_url }}" alt="Logo">
39+
{% endif %}
40+
{% endif %}
41+
42+
{% if site.blank_title %}
43+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
44+
{% else %}
45+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
46+
{% endif %}
47+
48+
{% if site.email %}
49+
<p class="addr"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" style="vertical-align: -0.125em;" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><path d="m22 6l-10 7L2 6"/></g></svg>&nbsp;{{ site.email }}</p>
50+
{% endif %}
51+
52+
<!-- <p>{{ site.description | default: site.github.project_tagline }}</p> -->
53+
<p>PhD student @ UT Austin UTNS lab. Working on systems for ML.</p>
54+
55+
{% include sidebar.html %}
56+
57+
</header>
58+
59+
{% include links-mobile.html %}
60+
61+
<div class="sidebar-footer">
62+
{%- include footer.html -%}
63+
</div>
64+
</div>
65+
<section>
66+
67+
{{ content }}
68+
69+
</section>
70+
<footer>
71+
{%- include footer.html -%}
72+
</footer>
73+
</div>
74+
{% if site.cdn.jsdelivr.enabled %}
75+
<script src="{{ theme_assets_base_url }}{{ "/assets/js/scale.fix.min.js" }}"></script>
76+
{% else %}
77+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
78+
{% endif %}
79+
</body>
80+
</html>

0 commit comments

Comments
 (0)