(メンバー向け)NITRoのHPの作成方法
HPを運用してもらうための説明を記述します.
このリポジトリをクローンしてください.
git clone git@github.com:RRL-NITRo/RRL-NITRo.github.io.git
| ページ名 | URL | 説明 |
|---|---|---|
| Home | https://rrl-nitro.github.io/ | トップページ |
| About Us | https://rrl-nitro.github.io/tabs/about.html. | NITRoの紹介 |
| Projects | https://rrl-nitro.github.io/tabs/projects.html | 出場した大会,参加したプロジェクトのまとめ |
| Blog | https://rrl-nitro.github.io/tabs/blog.html | 開発日誌等,自由に投稿したい. |
| Links | https://rrl-nitro.github.io/tabs/links.html | ソーシャルアカウント,オープンソースプロジェクトのリンク集 |
Blogの投稿方法
開発日誌を投稿する際の手順を説明します.
_postsフォルダに新しいファイルを作成します.- ファイル名は
YYYY-MM-DD-タイトル.markdownの形式で作成してください. - 例:
2025-07-30-my-first-post.markdown
- ファイル名は
- 作成したファイルに以下のテンプレートをコピー&ペーストします.
---
# multilingual page pair id, this must pair with translations of this page. (This name must be unique)
lng_pair: id_autogeneratedsamplecontent_1
title: タイトルを入力
author: "kotaro" # 投稿者名を入力
category: formembers #カテゴリ名を入力 どれか一つにする.使われているのは,formembers, blog, announcements
tags: [development,kotaro] # タグを入力
# thumbnail image for post
img: ":post_pic1.jpg" #サムネイル画像
# comments_disable: true # コメントを無効にする場合はこの行を有効にしてください
# publish date #公開時間
date: 2025-07-30 14:25:53 +0900
# optional
# please use the "image_viewer_on" below to enable image viewer for individual pages or posts (_posts/ or [language]/_posts folders).
# image viewer can be enabled or disabled for all posts using the "image_viewer_posts: true" setting in _data/conf/main.yml.
image_viewer_on: true
# please use the "image_lazy_loader_on" below to enable image lazy loader for individual pages or posts (_posts/ or [language]/_posts folders).
# image lazy loader can be enabled or disabled for all posts using the "image_lazy_loader_posts: true" setting in _data/conf/main.yml.
#image_lazy_loader_on: true
# exclude from on site search
#on_site_search_exclude: true
# exclude from search engines
#search_engine_exclude: true
# to disable this page, simply set published: false or delete this file
#published: false #公開しない場合はこの行を有効にしてください
---
- タイトル、投稿者名、カテゴリ、タグ、サムネイル画像を適宜変更してください。
- 投稿内容を記述します。—以下に,Markdown形式で書くことができます。Markdownの書き方はこちらを参照してください。
- ファイルを保存し、GitHubにプッシュします。
- プッシュ後、GitHub Actionsが自動的にサイトをビルドし、更新された内容が反映されます.
Projectsの投稿方法
_data/content/projects/en.ymlファイルを開き,変更を加える.Categoryを使うことで,分類を行う.
Aboutの編集方法
_tabs/about.mdファイルを開きます。
画像の挿入
画像は,/assets/img以下のフォルダに保存されている. 画像の挿入は,VSCodeよりもWebブラウザで行う方が楽.
タブページの追加
まだわからない.
メンバーの追加
_includes/custom/about-members.htmlファイルを開きます。<div class="col-md-3 about-img">の中に新しいメンバーの情報を追加します。
例:
<div class="col-md-3 about-img">
<img src="/assets/img/about/member/new_member.jpg" alt="New Member" class="img-fluid">
<h3>New Member</h3>
<p>Role: Developer</p>
<p>Bio: Brief description about the new member.</p>
</div>
- 画像ファイルは
/assets/img/about/member/フォルダに保存してください。 - 変更を保存し、GitHubにプッシュします。