-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (81 loc) · 3.03 KB
/
Copy pathindex.html
File metadata and controls
90 lines (81 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
layout: default
title: Home
description: "Changqian Yu — Director of Kling Image at Kuaishou. Expert in Diffusion Models and Vision-Language Models."
---
{% assign lang = page.lang | default: "en" %}
{% assign t = site.data.i18n[lang] %}
{% assign about = site.data.about %}
<div class="container">
{% include hero.html %}
<hr>
<section class="section">
<div class="section__title"><span>{{ t.home.timeline }}</span></div>
{% include timeline.html %}
</section>
{% include hiring.html %}
<section class="section">
<div class="section__title"><span>{{ t.home.open_source }}</span></div>
<ul class="oss-list">
{% for repo in about.open_source %}
<li class="oss-item">
<a href="{{ repo.url }}" class="oss-item__name" target="_blank" rel="noopener">{{ repo.name }}</a>
{% if repo.paper %}<a href="{{ repo.paper }}" class="oss-item__link" target="_blank" rel="noopener">[paper]</a>{% endif %}
{% if repo.demo %}<a href="{{ repo.demo }}" class="oss-item__link" target="_blank" rel="noopener">[demo]</a>{% endif %}
<span class="oss-item__sep">—</span>
<span class="oss-item__desc">{% if repo.desc[lang] %}{{ repo.desc[lang] }}{% else %}{{ repo.desc }}{% endif %}</span>
</li>
{% endfor %}
</ul>
</section>
<section class="section">
<div class="section__title">
<span>{{ t.home.selected_publications }}</span>
<a href="{{ '/publications/' | relative_url }}" class="section__more">{{ t.home.view_all }}</a>
</div>
<div class="pub-grid">
{% assign selected = site.data.publications | where: "selected", true %}
{% assign featured = selected | slice: 0, 6 %}
{% for pub in featured %}
{% include publication.html pub=pub %}
{% endfor %}
</div>
</section>
{% if site.posts.size > 0 %}
<section class="section">
<div class="section__title">
<span>{{ t.home.latest_posts }}</span>
<a href="{{ '/blog/' | relative_url }}" class="section__more">{{ t.home.view_all }}</a>
</div>
<div class="post-list">
{% for post in site.posts limit:3 %}
<a href="{{ post.url | relative_url }}" class="post-preview">
<div class="post-preview__meta">
<span class="post-preview__date">{{ post.date | date: "%b %d, %Y" }}</span>
{% for tag in post.tags limit:2 %}
<span class="post-preview__tag">{{ tag }}</span>
{% endfor %}
</div>
<h3 class="post-preview__title">{{ post.title }}</h3>
{% if post.description %}
<p class="post-preview__desc">{{ post.description }}</p>
{% endif %}
</a>
{% endfor %}
</div>
</section>
{% endif %}
<section class="section">
<div class="section__title">
<span>{{ t.home.news }}</span>
</div>
<ul class="news-list">
{% for news in site.data.news %}
<li class="news-item">
<span class="news-item__date">{{ news.year }}</span>
<p class="news-item__text">{{ news[lang] }}</p>
</li>
{% endfor %}
</ul>
</section>
</div>