diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 5d394da..9add542 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -26,7 +26,7 @@ jobs: run: | git submodule update --remote - name: Run main.py - run: python main.py + run: python main.py github - name: Push changes run: | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" diff --git a/.gitmodules b/.gitmodules index da02870..71edf3e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,7 @@ path = static url = https://github.com/BA-OST-Index/ost_data_site_static.git branch = main +[submodule "dev-changelogs"] + path = dev_changelogs + url = https://github.com/BA-OST-Index/dev-changelogs.git + branch = main diff --git a/dev_changelogs b/dev_changelogs new file mode 160000 index 0000000..3a4a98f --- /dev/null +++ b/dev_changelogs @@ -0,0 +1 @@ +Subproject commit 3a4a98fa84c921e66a6fe492178b4e48e3413a2a diff --git a/index.html b/index.html index a5b4aea..4175e4d 100644 --- a/index.html +++ b/index.html @@ -88,7 +88,7 @@

BA OST Index

{% endblock other_head %} {% block article_content %} - {% from "template/en/_macro.html" import track_type_for_show, output_usedby_background, output_usedby_story, output_usedby_battle, output_usedby_ui, output_usedby_video, output_usedby_character_dict, track_version_video_player %} + {% from "template/en/_macro_page.html" import output_usedby_background, output_usedby_story, output_usedby_battle, output_usedby_ui, output_usedby_video, output_usedby_character_dict, track_version_video_player %} + {% from "template/en/_macro.html" import tracktype_to_name, generate_album_anchor, generate_track_anchor %}

Track/{{ track.no }}. {{ track.name.realname.en }}

{% include "template/en/infobox/track.html" %} -

{{ track.name.realname.en }} is the No. {{ track.no }} track in the {{ track_type_for_show(track) }}.

+

{{ track.name.realname.en }} is the No. {{ track.no }} track in the {{ tracktype_to_name(track.track_type) }}.

{{ track.desc.en }}

+

Name Translation

Original Names

+ +

Track in Album

+

This track has been included in the following albums.

+ +

Play Music Here

Tips: In order to avoid potential copyright infringement, we're using third-party embedded web players to provide services. You can also manually visit them by clicking the links in the infobox.

By clicking the links below, you agree to the Terms of Services of the corresponding platforms/service providers.

{{ track_version_video_player(track.version) }} +

Usage Info

This section shows instances where the song has been referenced.

+

Related Tracks

+

Backgrounds

{{ output_usedby_background(track.used_by.data_background, "track-" + track.instance_id, track.instance_id, "track") }}

Stories

diff --git a/page/en/ui.html b/page/en/ui.html index 3847ca0..6d94623 100644 --- a/page/en/ui.html +++ b/page/en/ui.html @@ -4,10 +4,10 @@ {% block article_content %}

UI/{{ ui.name.en }}

{% include "template/en/infobox/ui.html" %} - {% from "template/en/_macro.html" import get_social_for_composer %} + {% from "template/en/_macro.html" import get_social_for_composer, generate_track_anchor %}

{{ ui.name.en }} is a part of the UI (user interface) in Blue Archive.

Description: {{ ui.desc.en }}

Used Track

-

Track: {{ ui.track.no }}. {{ ui.track.name.realname.en }}

+

Track: {{ generate_track_anchor(ui.track, 0, 0, 0, 0, 0) }}

Composer: {{ ui.track.composer.nickname }} ({{ get_social_for_composer(ui.track.composer) }})

{% endblock %} \ No newline at end of file diff --git a/page/en/ui_all.html b/page/en/ui_all.html index c12f55e..3e07a2e 100644 --- a/page/en/ui_all.html +++ b/page/en/ui_all.html @@ -2,7 +2,7 @@ {% block title %}{{ ui.name.en }}{% endblock title %} {% block article_content %} - {% from "template/en/_macro.html" import output_usedby_ui_for_all_ui, output_usedby_ui_list %} + {% from "template/en/_macro_page.html" import output_usedby_ui_for_all_ui, output_usedby_ui_list %}

{{ ui.name.en }}

{{ ui.desc.en }}

{% if ui.filetype == -61 or ui.filetype == -45 %} diff --git a/page/en/video.html b/page/en/video.html index c268f72..49147d3 100644 --- a/page/en/video.html +++ b/page/en/video.html @@ -1,5 +1,5 @@ {% extends "template/en/base.html" %} -{% from 'template/en/_macro.html' import output_usedby_track_list, track_version_video_player %} +{% from 'template/en/_macro_page.html' import output_usedby_track_list, track_version_video_player %} {% block title %}Video/{{ video.name.en }}{% endblock title %} {% block other_head %} diff --git a/page/zh_cn/_index.html b/page/zh_cn/_index.html index 4793465..3eb3d3b 100644 --- a/page/zh_cn/_index.html +++ b/page/zh_cn/_index.html @@ -2,20 +2,46 @@ {% block title %}欢迎 {% endblock title %} {% block article_content %} -

欢迎,老师!

-

这是 BA OST Index,一个由sctop创建的项目,试图跟踪各个曲子与故事、战斗、背景、人物与UI之间的关系!

-
-

本站支持的数据

-

当前本站对于文章数据已经基本支持完毕,图片相关内容预计将在之后更新。

- -

您也可通过使用网页左侧的导航栏进行导航。

+

欢迎您,老师!

+
+
+
+ + 音乐×故事×学生 +
+

BA OST Index是一个致力于追踪手机游戏《蔚蓝档案》(又名《碧蓝档案》)的出处与使用例、建立音乐—故事—背景—人物四项主要数据间关联的小型数据库项目。藉由自动生成的索引数据,您可在多个数据项间进行跳转、互查、对比等操作,助您更加深入地了解游戏的相关音乐。

+
+

站内快捷链接

+ +
+
+

主要特色

+

BA OST Index面向全体BA玩家开放。然而,如果您是想深入分析剧情者或为内容创作者,本项目网站所提供的数据与功能可能较其它网站更有帮助。本网站配备了以下特色功能:

+
    +
  1. Tooltip:在主要页面*中,PC端鼠标悬停在对应数据项链接上即可显示更多相关信息。
  2. +
  3. 故事情节高亮:对不同的故事情节,其标题会用不同颜色区分以高亮显示。
  4. +
  5. 快速直达故事:在各故事详细页中,可一键直达相关情节的视频/碧蓝档案剧情站资源。
  6. +
  7. 跳转高亮:在主要页面*间互相跳转时,会高亮跳转来源的数据条目项。
  8. +
+

*主要页面:指音乐、故事、背景、人物四项数据的页面。

+
+
+
+

其他链接

+ +

*此处仅为列出玩家间常用的数据类网站以供查阅。除非注明,否则BA OST Index与列出的网站无任何关联。

+
{% endblock article_content %} \ No newline at end of file diff --git a/page/zh_cn/album.html b/page/zh_cn/album.html new file mode 100644 index 0000000..8aa7a2b --- /dev/null +++ b/page/zh_cn/album.html @@ -0,0 +1,17 @@ +{% extends "template/zh_cn/base.html" %} +{% from 'template/zh_cn/_macro_page.html' import output_usedby_track_list %} + +{% block title %}专辑/{{ album.name.en }}{% endblock title %} +{% block article_content %} +

专辑/{{ album.name.zh_cn }}

+ {% include "template/zh_cn/infobox/album.html" %} +

{{ album.name.zh_cn }}是由蔚蓝档案官方发行的一个专辑。

+

{{ album.desc.zh_cn }}

+ +

曲子信息

+

概览:本专辑中共有{{ album.track_num }}首曲子{{ album.disc_num }}碟片)。此专辑发行于{{ album.release_date_format }}

+ {% for disc in album.tracks %} +

第{{ loop.index }}张碟片({{ disc|length }}首)

+ {{ output_usedby_track_list(disc) }} + {% endfor %} +{% endblock %} \ No newline at end of file diff --git a/page/zh_cn/album_all.html b/page/zh_cn/album_all.html new file mode 100644 index 0000000..4f5e915 --- /dev/null +++ b/page/zh_cn/album_all.html @@ -0,0 +1,13 @@ +{% extends "template/zh_cn/base.html" %} + +{% block title %}全部专辑{% endblock title %} +{% block article_content %} +

全部专辑

+

此页显示所有可用的专辑。

+ +{% endblock article_content %} \ No newline at end of file diff --git a/page/zh_cn/background.html b/page/zh_cn/background.html index 30f8f1b..820588b 100644 --- a/page/zh_cn/background.html +++ b/page/zh_cn/background.html @@ -2,9 +2,10 @@ {% block title %}背景/{{ background.filename }}{% endblock title %} {% block article_content %} - {% from "template/zh_cn/_macro.html" import output_usedby_story, output_usedby_track %} + {% from "template/zh_cn/_macro_page.html" import output_usedby_story, output_usedby_track %}

背景/{{ background.filename }}

{% include "template/zh_cn/infobox/background.html" %} +

简介:{{ background.desc.zh_cn }}

用途信息

故事

{{ output_usedby_story(background.used_by.data_story, background.uuid, "background") }} diff --git a/page/zh_cn/background_all.html b/page/zh_cn/background_all.html index 6c4c07d..e8e73f1 100644 --- a/page/zh_cn/background_all.html +++ b/page/zh_cn/background_all.html @@ -3,7 +3,7 @@ {% block title %}全部背景{% endblock title %} {% block article_content %}

全部背景

-

此页显示所有可用的背景

+

此页显示所有可用的背景。