Skip to content

Commit cebb76b

Browse files
authored
Merge pull request #10 from appleple/develop
v1.0.1
2 parents c82b28b + f725937 commit cebb76b

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

themes/develop/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# テーマ「develop」Ver.1.0.0
1+
# テーマ「develop」Ver.1.0.1
22

33
## バンドル環境の使い方
44

themes/develop/_entry.twig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
{% set relationalItems = entryTagRelational.items|slice(0, 2) %}
2929
{% set offsetRelationalItems = entryTagRelational.items|slice(2) %}
3030

31+
{% block headJs %}
32+
{% if touch('Touch_EditInplace') %}
33+
{{ parent() }}
34+
<script>
35+
ACMS.Ready(function() { ACMS.Config.blockEditorConfig.editorProps.editorProps.attributes.class = 'prose'; });
36+
</script>
37+
{% endif %}
38+
{% endblock %}
39+
3140
{% block main %}
3241
<article>
3342
{{ include('/include/entry/body.twig', { sns_share: true }) }}

themes/develop/include/entry/archive-list-side.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<li class="py-2 border-t border-solid border-gray-200">
1111
<a href="{{ item.url }}" class="flex items-center gap-3 py-2 hover:opacity-70">
1212
<span class="flex-1 block">{{ item.date|date('Y年m月') }}</span>
13-
{% if archive.amount %}
13+
{% if item.amount %}
1414
<span class="block min-w-10 py-1 rounded-full text-xs text-center bg-slate-100">{{ item.amount }}</span>
1515
{% endif %}
1616
</a>

themes/develop/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/develop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "develop",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Webサイト制作プロジェクト",
55
"type": "module",
66
"main": "index.js",

0 commit comments

Comments
 (0)