Personal academic page built using al-folio
$ ridk install
# select 3
$ gem -v
# > 3.3.3
$ gem install jekyll bundler
$ jekyll -v
# > jekyll 4.2.1
# shallow clone
$ git clone --depth 1 [email protected]:amomorning/amomorning.github.io.git
$ cd amomorning.github.io
$ bundle install
Create a prebiew at http://127.0.0.1:4000.
$ bundle exec jekyll serve
insert images is quite different with markdown:
{% include figure.html path="/assets/img/archindex.png" class="img-fluid rounded" zoomable=true%}
<div class="caption">
图1. ArchIndex 网页设计 (https://index.archialgo.com)
</div>
zoomable=true
medium zoom in page/post layout, not work in distill layoutclass="z-depth-1"
shadowPhoto formatting is made simple using Bootstrap's grid system. Easily create beautiful grids within your blog posts and project pages:
<!-- 1/3 per image -->
<div class="row">
<div class="col-sm mt-3 mt-md-0">
{% include figure.html path="assets/img/1.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
<div class="col-sm mt-3 mt-md-0">
{% include figure.html path="assets/img/3.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
<div class="col-sm mt-3 mt-md-0">
{% include figure.html path="assets/img/5.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
</div>
<!-- 2/3 + 1/3 images -->
<div class="row justify-content-sm-center">
<div class="col-sm-8 mt-3 mt-md-0">
{% include figure.html path="assets/img/6.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
<div class="col-sm-4 mt-3 mt-md-0">
{% include figure.html path="assets/img/11.jpg" title="example image" class="img-fluid rounded z-depth-1" %}
</div>
</div>
_data
folderData files give you access information from CSV
, JSON
or YAML
files on your Jekyll site. For example, the example.json
file:
{
"model": [{
"filename": "1",
"url": "https://model.amomorning.com/img/1.jpg"
},
{
"filename": "2",
"url": "https://model.amomorning.com/img/2.jpg"
}
]
}
<!-- don't forget endfor -->
{% for file in site.data.example["model"] %}
<h1>{{file.filename}}</h1>
<a href="{{file.url}}"> link </a>
{% endfor %}
---
heading: I like cupcakes
show_heading: false
cupcakes:
- chocolate
- lemon
- strawberry
---
...
<ul>
{% for cupcake in page.cupcakes %}
<li>{{ cupcake }}</li>
{% endfor %}
</ul>
...
<!-- equal and not equal to -->
{% if cupcake.type == "Lemon" %}
{% endif %}
{% if cupcake.type != "Lemon" %}
{% endif %}
<!-- contains -->
{% if cupcake.type contains "Chocolate" %}
{% endif %}
<!-- if -->
{% if cupcake.rating >= 3 %}
{% else %}
{% endif %}
<!-- unless -->
{% unless cupcake.rating >= 3 %}
{% endif %}
<!-- case -->
{% if cupcake.rating == 1 %}
<img src="/images/rating/sick.png"/>
{% elsif cupcake.rating == 2 %}
<img src="/images/rating/unhappy.png"/>
{% elsif cupcake.rating == 3 %}
<img src="/images/rating/ok.png"/>
{% elsif cupcake.rating == 4 %}
<img src="/images/rating/happy.png"/>
{% elsif cupcake.rating == 5 %}
<img src="/images/rating/super_happy.png"/>
{% endif %}
The diagram below was generated by the following code:
{% mermaid %}
sequenceDiagram
participant John
participant Alice
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
{% endmermaid %}
sequenceDiagram
participant John
participant Alice
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
An example of displaying a tweet:
{% twitter https://twitter.com/rubygems/status/518821243320287232 %}
An example of pulling from a timeline:
{% twitter https://twitter.com/jekyllrb maxwidth=500 limit=3 %}
The theme allows you to create blog posts in the distill.pub style:
---
authors:
- name: Yichen Mo
url: https://amomorning.com
affiliations:
name: Southeast University
- name: Baizhou Zhang
- name: Biao Li
toc:
- name: 引言
- name: 方法
- name: 技术细节
- name: 应用展示
---
<!-- the content of the posts -->
The recent update at about is in the _news
folder, includes inline posts and long posts
---
layout: post
date: 2021-03-30 11:00:00-0400
inline: true
---
---
layout: post
title: Present "ArchIndex A Web-based and Data-driven Retrieval System for City Blocks" at CUPUM 2021
date: 2021-06-13 16:11:00-0400
inline: false
---
<!-- the content of the posts -->
publications page is generated automatically from your BibTex bibliography. Simply edit _bibliography/papers.bib
. You can also add new *.bib
files and customize the look of your publications however you like by editing _pages/publications.md
In publications, the author entry for yourself is identified by string scholar:last_name
and string array scholar:first_name
in _config.yml
:
scholar:
last_name: Einstein
first_name: [Albert, A.]
Keep meta-information about your co-authors in _data/coauthors.yml
and Jekyll will insert links to their webpages automatically.
"lastname | family name":
- firstname: ["name", "f."]
url: link to personal website
- firstname: ["another author", "a"]
url: link to personal website
"Mo":
- firstname: ["Yichen", "Y."]
url: https://amomorning.github.io
所有的文献放在 bibliography
目录当中的 paper.bib
文件内。一开始尝试了从 Zotero 导出,结果在网页上显示不大好,如果自己填了 entry 还会被覆盖掉,所以还是需要手填的。
有时间或许应该考虑自己写个....
title
文章目录author
作者列表journal
booktitle
abstract
摘要内容bibtex_show
显示该文献的 bibtexarxiv
arxiv 地址,entry内填arxiv编号blog
blog 地址,httpcode
论文相关的代码位置,httpwebsite
论文网页video
视频链接(自定义)pdf
pdf文件,需手动放到 asset/pdf/
;也可填 http 或 ftp 链接supp
论文的 supplyments,需手动放到 asset/pdf/
;也可填 http 或 ftp 链接poster
poster,需手动放到 asset/pdf/
;也可填 http 或 ftp 链接slides
slides,需手动放到 asset/pdf/
;也可填 http 或 ftp 链接The theme is available as open source under the terms of the MIT License.