Skip to content

Commit

Permalink
Pulling academics pages & adding awards, courses, update cv and navit…
Browse files Browse the repository at this point in the history
…ion (#6)

* Add Chinese (both simplified and traditional) to ui-text.yml

Simplified Chinese:
  zh
  zh-CN

Traditional Chinese:
  zh-HK
  zh-TW

* Adds commands for MacOS

* Update README.md

* academicpages#2316 update padding

* academicpages#2318 updating documentation a bit

* Alphabetize the excludes

* Closes academicpages#48 with a more general and customizable approach

* fix: lastfm url

* Update README.md

* Fixing YouTube URL generation in author-profile.html

YouTube does not use /user/username at the moment. If a person has a YouTube handle, the URL is:
www.youtube.com/@HANDLE

The fix is very minimal but I needed it for my website so I've also added it here.

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* academicpages#1975 cleaning up the gem files a bit

* academicpages#1975 update fitvids to NPM

* academicpages#1975 update magnific-popup to NPM

* academicpages#1975 update smooth scroll to NPM

* Closes academicpages#1975 RM stickyfill in favor of native browser support

* Closes academicpages#2287, academicpages#534 with updates to documentation, better emoji generation

* Add a dockerfile

* Update README.md

* bug: comments appear at bottom of page

* Closes academicpages#146 with information the details HTML tag

* Minor formatting

* Closes academicpages#828 with update to put the pages last update in the footer.

* academicpages#828 different format string

* academicpages#828 adjustments to account for GitHub Pages limitations

* Fix toc crop (academicpages#221)

Fix by @qhuang-math. I have also removed underlining of toc links, which was being overridden by post body css.

* Reduce excessive footer padding

* Fix misalignment of navigation bar with post body

There was a regression in the template updates where the navigation bar no longer aligns with the post left margin at normal viewport.

* Add notebook to fetch publication information from orcid

* Update author-profile.html

improve alignment of "employer" sidebar

* Closes academicpages#2469 with update to only use username

* academicpages#1093 MV notebook to generator directory

* eak: first version of accademic project (#3)

* Update CV md

* updating CV

* first version of cv

* Adding obj detr and specialized llm model projects (#4)

* Adding some projects

* Adding object detection model

* Adding llm telecom project

* Adding courses, update projects

* Adding awards, courses, update cv and navition

---------

Co-authored-by: Yuhang YAN (Henry) <[email protected]>
Co-authored-by: rjzupkoii <[email protected]>
Co-authored-by: Zarela <[email protected]>
Co-authored-by: Yanchen Huang <[email protected]>
Co-authored-by: edbrito-swdev <[email protected]>
Co-authored-by: Alberto Barradas <[email protected]>
Co-authored-by: Samir Rashid <[email protected]>
Co-authored-by: Carlos Martinez <[email protected]>
Co-authored-by: Xiaofei (Carl) Zang <[email protected]>
  • Loading branch information
10 people authored Oct 23, 2024
1 parent d9e263b commit 4a1c058
Show file tree
Hide file tree
Showing 40 changed files with 755 additions and 2,361 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Ignore the contents of the _site directory
# Ignore the contents of the _site directory and other cache directories
_site/
.sass-cache/

# Ignore the directory for local files during development
local/
Expand Down
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Base image: Ruby with necessary dependencies for Jekyll
FROM ruby:3.2

# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
nodejs \
&& rm -rf /var/lib/apt/lists/*

# Set the working directory inside the container
WORKDIR /usr/src/app

# Copy Gemfile and Gemfile.lock into the container (necessary for `bundle install`)
COPY Gemfile Gemfile.lock ./

# Install bundler and dependencies
RUN gem install bundler:2.3.26 && bundle install

# Expose port 4000 for Jekyll server
EXPOSE 4000

# Command to serve the Jekyll site
CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0", "--watch"]

31 changes: 7 additions & 24 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
source "https://rubygems.org"
source 'https://rubygems.org'

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!

gem "github-pages", group: :jekyll_plugins

# If you want to use Jekyll native, uncomment the line below.
# To upgrade, run `bundle update`.

# gem "jekyll"

gem "wdm", "~> 0.1.0" if Gem.win_platform?

# If you have any plugins, put them here!
group :jekyll_plugins do
# gem "jekyll-archives"
gem "jekyll-feed"
gem 'jekyll'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'hawkins'
gem "webrick", "~> 1.8"
gem 'jemoji'
gem 'webrick', '~> 1.8'
end

gem 'github-pages'
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Academic Pages is a Github Pages template for academic websites.

See more info at https://academicpages.github.io/

## Running Locally
## Running locally

When you are initially working your website, it is very useful to be able to preview the changes locally before pushing them to GitHub. To work locally you will need to:

Expand All @@ -31,7 +31,22 @@ If you are running on Linux it may be necessary to install some additional depen

# Maintenance

Bug reports and feature requests to the template should be [submitted via GitHub](https://github.com/academicpages/academicpages.github.io/issues/new/choose). For questions concerning how to style the template, please feel free to start a [new discussion on GitHub](https://github.com/academicpages/academicpages.github.io/discussions).
Working from a different OS, or just want to avoid installing dependencies? You can use the provided `Dockerfile` to build a container that will run the site for you if you have [Docker](https://www.docker.com/) installed.

Start by build the container:

```bash
docker build -t jekyll-site .
```

Next, run the container:
```bash
docker run -p 4000:4000 --rm -v $(pwd):/usr/src/app jekyll-site
```

# Maintenance

Bug reports and feature requests to the template should be [submitted via GitHub](https://github.com/academicpages/academicpages.github.io/issues/new/choose). For questions concerning how to style the template, please feel free to start a [new discussion on GitHub](https://github.com/academicpages/academicpages.github.io/discussions).

This repository was forked (then detached) by [Stuart Geiger](https://github.com/staeiou) from the [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/), which is © 2016 Michael Rose and released under the MIT License (see LICENSE.md). It is currently being maintained by [Robert Zupko](https://github.com/rjzupkoii) and additional maintainers would be welcomed.

Expand All @@ -40,3 +55,15 @@ This repository was forked (then detached) by [Stuart Geiger](https://github.com
If you have bugfixes and enhancements that you would like to submit as a pull request, you will need to [fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) this repository as opposed to using it as a template. This will also allow you to [synchronize your copy](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork) of template to your fork as well.

Unfortunately, one logistical issue with a template theme like Academic Pages that makes it a little tricky to get bug fixes and updates to the core theme. If you use this template and customize it, you will probably get merge conflicts if you attempt to synchronize. If you want to save your various .yml configuration files and markdown files, you can delete the repository and fork it again. Or you can manually patch.

---
<div align="center">

![pages-build-deployment](https://github.com/academicpages/academicpages.github.io/actions/workflows/pages/pages-build-deployment/badge.svg)
[![GitHub contributors](https://img.shields.io/github/contributors/academicpages/academicpages.github.io.svg)](https://github.com/academicpages/academicpages.github.io/graphs/contributors)
[![GitHub release](https://img.shields.io/github/v/release/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io/releases/latest)
[![GitHub license](https://img.shields.io/github/license/academicpages/academicpages.github.io?color=blue)](https://github.com/academicpages/academicpages.github.io/blob/master/LICENSE)

[![GitHub stars](https://img.shields.io/github/stars/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io)
[![GitHub forks](https://img.shields.io/github/forks/academicpages/academicpages.github.io)](https://github.com/academicpages/academicpages.github.io/fork)
</div>
58 changes: 40 additions & 18 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,16 @@ author:
wikipedia : # Username
xing : # Username
youtube : # Username
zhihu : # URL
zhihu : # Username

# Publication Category - The following the list of publication categories and their headings
publication_category:
books:
title: 'Books'
manuscripts:
title: 'Journal Articles'
conferences:
title: 'Conference Papers'

# Site Settings
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
Expand Down Expand Up @@ -152,23 +160,26 @@ exclude:
- "*.sublime-workspace"
- .asset-cache
- .bundle
- .github
- .jekyll-assets-cache
- .sass-cache
- CHANGELOG
- Capfile
- Gemfile
- Gruntfile.js
- LICENSE
- README
- Rakefile
- assets/js/_main.js
- assets/js/plugins
- assets/js/vendor
- CHANGELOG
- Capfile
- config
- Dockerfile
- Gemfile
- Gruntfile.js
- gulpfile.js
- LICENSE
- local
- log
- node_modules
- package.json
- package.json*
- Rakefile
- README
- tmp
- vendor
keep_files:
Expand Down Expand Up @@ -198,7 +209,7 @@ kramdown:
enable_coderay: false


# Collections
# These settings control the types of collections used by the template
collections:
# teaching:
# output: true
Expand All @@ -214,7 +225,7 @@ collections:
# permalink: /:collection/:path/


# Defaults
# These settings control how pages and collections are included in the site
defaults:
# _posts
# - scope:
Expand Down Expand Up @@ -261,6 +272,16 @@ defaults:
author_profile: true
share: true
comment: true
# _courses
- scope:
path: ""
type: courses
values:
layout: single
author_profile: true
share: true
comment: true

# _talks
# - scope:
# path: ""
Expand All @@ -281,22 +302,23 @@ sass:
permalink: /:categories/:title/
# paginate: 5 # amount of posts to show
# paginate_path: /page:num/
timezone: America/Los_Angeles # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: Etc/UTC # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones


# Plugins
plugins:
- jekyll-feed
- jekyll-gist
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jekyll-redirect-from
# mimic GitHub Pages with --safe
- jemoji

# Mimic GitHub Pages with --safe
whitelist:
- jekyll-feed
- jekyll-gist
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji


Expand Down
2 changes: 1 addition & 1 deletion _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Name Name:
name : "Alex Kameni"
uri : "http://name.com"
email : "[email protected]"
bio : "Data scientist"
bio : "Machine Learning Engineer"
avatar : "alex.jpg"
twitter : "kamenialexnea19"
google_plus : "-"
14 changes: 13 additions & 1 deletion _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# main links links
# The following is the order of the links in the header of the website.
#
# Changing the order here will adjust the order and you can also add additional
# links. Removing a link prevents it from showing in the header, but does not
# prevent it from being included in the site.

main:

- title: "Portfolio"
Expand All @@ -9,6 +14,13 @@ main:

- title: "CV"
url: /cv/

- title: "Courses"
url: /courses/

- title: "Awards"
url: /awards/


# - title: "Talks"
# url: /talks/
Expand Down
84 changes: 84 additions & 0 deletions _data/ui-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,5 +266,89 @@ it: &DEFAULT_IT
it-IT:
<<: *DEFAULT_IT

# Chinese (simplified)
# -----------------
zh: &DEFAULT_ZH
page : "页面"
pagination_previous : "上一页"
pagination_next : "下一页"
breadcrumb_home_label : "主页"
breadcrumb_separator : "/"
toc_label : "本页内容"
ext_link_label : "直接链接"
less_than : "少于"
minute_read : "分钟阅读时长"
share_on_label : "分享到"
meta_label :
tags_label : "标签:"
categories_label : "分类:"
date_label : "发布时间:"
comments_label : "发表评论"
comments_title : "评论"
more_label : "了解更多"
related_label : "你可能感兴趣的"
follow_label : "关注:"
feed_label : "打赏"
powered_by : "技术支持:"
website_label : "网站"
email_label : "电子邮件"
recent_posts : "最新文章"
undefined_wpm : "_config.yml中未定义words_per_minute参数"
comment_form_info : "您的电子邮件地址不会被公开。(必填项已标注)"
comment_form_comment_label : "评论"
comment_form_md_info : "支持Markdown格式"
comment_form_name_label : "姓名"
comment_form_email_label : "电子邮件地址"
comment_form_website_label : "网站(可选)"
comment_btn_submit : "提交评论"
comment_btn_submitted : "已提交"
comment_success_msg : "感谢您的评论!审核通过后会显示在网站上。"
comment_error_msg : "抱歉,提交时出错。请确保所有必填项已完成,并重试。"
loading_label : "加载中..."
zh-CN:
<<: *DEFAULT_ZH

# Chinese (traditional)
# -----------------
zh-HK: &DEFAULT_ZH_HK
page : "頁面"
pagination_previous : "上一頁"
pagination_next : "下一頁"
breadcrumb_home_label : "主頁"
breadcrumb_separator : "/"
toc_label : "本頁內容"
ext_link_label : "直接連結"
less_than : "少於"
minute_read : "分鐘閱讀時長"
share_on_label : "分享到"
meta_label :
tags_label : "標籤:"
categories_label : "分類:"
date_label : "發布時間:"
comments_label : "發表評論"
comments_title : "評論"
more_label : "了解更多"
related_label : "你可能感興趣的"
follow_label : "關注:"
feed_label : "打賞"
powered_by : "技術支持:"
website_label : "網站"
email_label : "電子郵件"
recent_posts : "最新文章"
undefined_wpm : "_config.yml中未定義words_per_minute參數"
comment_form_info : "您的電子郵件地址不會被公開。(必填項已標註)"
comment_form_comment_label : "評論"
comment_form_md_info : "支持Markdown格式"
comment_form_name_label : "姓名"
comment_form_email_label : "電子郵件地址"
comment_form_website_label : "網站(可選)"
comment_btn_submit : "提交評論"
comment_btn_submitted : "已提交"
comment_success_msg : "感謝您的評論!審核通過後會顯示在網站上。"
comment_error_msg : "抱歉,提交時出錯。請確保所有必填項已完成,並重試。"
loading_label : "加載中..."
zh-TW:
<<: *DEFAULT_ZH_HK

# Another locale
# --------------
8 changes: 4 additions & 4 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h3 class="author__name">{{ author.name }}</h3>
<li class="author__desktop"><i class="fa-solid fa-location-dot icon-pad-right" aria-hidden="true"></i>{{ author.location }}</li>
{% endif %}
{% if author.employer %}
<li class="author__desktop"><i class="fa fa-solid fa-building-columns icon-pad-right" aria-hidden="true"></i>{{ author.employer }}</li>
<li class="author__desktop"><i class="fas fa-fw fa-building-columns icon-pad-right" aria-hidden="true"></i>{{ author.employer }}</li>
{% endif %}
{% if author.uri %}
<li><a href="{{ author.uri }}"><i class="fas fa-fw fa-link icon-pad-right" aria-hidden="true"></i>{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</a></li>
Expand Down Expand Up @@ -106,7 +106,7 @@ <h3 class="author__name">{{ author.name }}</h3>
<li><a href="https://instagram.com/{{ author.instagram }}"><i class="fab fa-fw fa-instagram icon-pad-right" aria-hidden="true"></i>Instagram</a></li>
{% endif %}
{% if author.lastfm %}
<li><a href="https://lastfm.com/user/{{ author.lastfm }}"><i class="fab fa-fw fa-lastfm icon-pad-right" aria-hidden="true"></i>Last.fm</a></li>
<li><a href="https://last.fm/user/{{ author.lastfm }}"><i class="fab fa-fw fa-lastfm icon-pad-right" aria-hidden="true"></i>Last.fm</a></li>
{% endif %}
{% if author.linkedin %}
<li><a href="https://www.linkedin.com/in/{{ author.linkedin }}"><i class="fab fa-fw fa-linkedin icon-pad-right" aria-hidden="true"></i>LinkedIn</a></li>
Expand Down Expand Up @@ -148,10 +148,10 @@ <h3 class="author__name">{{ author.name }}</h3>
<li><a href="https://www.xing.com/profile/{{ author.xing }}"><i class="fab fa-fw fa-xing icon-pad-right" aria-hidden="true"></i>XING</a></li>
{% endif %}
{% if author.youtube %}
<li><a href="https://www.youtube.com/user/{{ author.youtube }}"><i class="fab fa-fw fa-youtube icon-pad-right" aria-hidden="true"></i>YouTube</a></li>
<li><a href="https://www.youtube.com/@{{ author.youtube }}"><i class="fab fa-fw fa-youtube icon-pad-right" aria-hidden="true"></i>YouTube</a></li>
{% endif %}
{% if author.zhihu %}
<li><a href="{{ author.zhihu }}"><i class="fab fa-fw fa-zhihu icon-pad-right" aria-hidden="true"></i>Zhihu</a></li>
<li><a href="htps://www.zhihu.com/people/{{ author.zhihu }}"><i class="fab fa-fw fa-zhihu icon-pad-right" aria-hidden="true"></i>Zhihu</a></li>
{% endif %}
</ul>
</div>
Expand Down
Loading

0 comments on commit 4a1c058

Please sign in to comment.