Skip to content

Commit f2774fe

Browse files
committed
Show thumbnail/timeslot in Workshop layout if exists
1 parent cca21b1 commit f2774fe

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

_layouts/workshop.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
<div class="col-12 col-md-8">
66
<header class="entry__header">
77
<h2 class="entry__title">{{page.j-title}}</h2>
8-
<p class="entry__time">[ {{page.time-schedule}} ]</p>
8+
{% if page.thumbnail %}
9+
<img src="/img/{{ page.thumbnail }}"/>
10+
{% endif %}
11+
{% if page.time-schedule %}
12+
<p class="entry__time">[ {{page.time-schedule}} ]</p>
13+
{% endif %}
914
</header>
1015
<div class="entry__content">
1116
{{content}}

_workshop/mob-programming.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ j-title : モブプログラミングで体験する Scratch 3.0 + micro:bit 連
44
description: モブプログラミングで、βリリースとなったばかりの Scratch 3.0 と小型マイコンボードの micro:bit との連携機能を体験するワークショップです。モブプログラミングとは、PCを操作する1人のドライバー役を順番に交代しながら、ナビゲーター役のそれ以外の全員がアドバイスをしたり、手順を教えたりして、みんなで助け合いながらタスクを進めていく開発手法です。前提とする知識は全く必要なし、PCの操作ができれば、どなたでもご参加いただけます。
55
thumbnail : mobpro.png
66
time-schedule:
7+
layout: workshop
78
---
9+
810
モブプログラミングで、βリリースとなったばかりの Scratch 3.0 と小型マイコンボードの micro:bit との連携機能を体験するワークショップです。モブプログラミングとは、PCを操作する1人のドライバー役を順番に交代しながら、ナビゲーター役のそれ以外の全員がアドバイスをしたり、手順を教えたりして、みんなで助け合いながらタスクを進めていく開発手法です。前提とする知識は全く必要なし、PCの操作ができれば、どなたでもご参加いただけます。

0 commit comments

Comments
 (0)