Skip to content

Commit

Permalink
update news page
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesZhutheThird committed Jul 18, 2024
1 parent 436f095 commit 44df0e6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _news/en/announcement_1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
date: 202023-12-31
date: 2023-12-31
inline: true
related_posts: false
---
Expand Down
2 changes: 1 addition & 1 deletion _news/en/announcement_12.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ inline: true
related_posts: false
---

💪 Premier Li Qiang conducted a visit to AISpeech in Suzhou, Jiangsu. Professor Yu Kai from X-LANCE made another appearance on the *Xinwen Lianbo*, reporting to the Premier about the progress in research and development. <a href="https://mp.weixin.qq.com/s/wUpLnrBs9W1TfxuqMclCLw"> [Post] </a>
💪 Premier Li Qiang conducted a visit to AISpeech in Suzhou, Jiangsu. Professor Yu Kai from X-LANCE made another appearance on the *Xinwen Lianbo*, reporting to the Premier about the progress in research and development. <a href="https://mp.weixin.qq.com/s/wUpLnrBs9W1TfxuqMclCLw"> [Video/Post] </a>
4 changes: 2 additions & 2 deletions _news/generate_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
with open(list_file, 'r', encoding='utf-8') as f:
news_list = f.read()

news_list = news_list.split("\n# 20")
news_list = news_list.split("\n# ")
for news in news_list:
info = news.strip().split("\n\n")
assert len(info) == 3
news_index += 1
date = "20" + info[0].replace('#','').strip()
date = info[0].replace('#','').strip()
content_en = info[1].strip()
content_zh = info[2].strip()

Expand Down
2 changes: 1 addition & 1 deletion _news/zh/announcement_1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
date: 202023-12-31
date: 2023-12-31
inline: true
related_posts: false
---
Expand Down
2 changes: 1 addition & 1 deletion _news/zh/announcement_12.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ inline: true
related_posts: false
---

💪 李强总理在江苏苏州思必驰调研,X-LANCE俞凯教授再登新闻联播,向总理汇报研发进展。 <a href="https://mp.weixin.qq.com/s/wUpLnrBs9W1TfxuqMclCLw"> 【公众号推送】</a>
💪 李强总理在江苏苏州思必驰调研,X-LANCE俞凯教授再登新闻联播,向总理汇报研发进展。 <a href="https://mp.weixin.qq.com/s/wUpLnrBs9W1TfxuqMclCLw"> 【视频/公众号推送】</a>
8 changes: 5 additions & 3 deletions _pages/en/videos.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ nav_order: 6

<div align="center">
<h3> Xmart Student Forum </h3>

<h4> Episode 2 </h4>

<iframe src="//player.bilibili.com/player.html?bvid=BV1qihreEE6L&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="500"> </iframe>
</div>

<div align="center">
<h3> Xmart Student Forum </h3>
<h4> Episode 1 </h4>

<iframe src="//player.bilibili.com/player.html?bvid=BV1FJ4m137ZB&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="500"> </iframe>
</div>

Expand Down
7 changes: 4 additions & 3 deletions _pages/zh/videos.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ nav_order: 6

<div align="center">
<h3> Xmart学生论坛 </h3>

<h4> 第二期 </h4>

<iframe src="//player.bilibili.com/player.html?bvid=BV1qihreEE6L&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="500"> </iframe>
</div>

<h4> 第一期 </h4>

<div align="center">
<h3> Xmart学生论坛 </h3>
<iframe src="//player.bilibili.com/player.html?bvid=BV1FJ4m137ZB&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%" height="500"> </iframe>
</div>

0 comments on commit 44df0e6

Please sign in to comment.