回答編集履歴

1

回答のコメントをもとに、テンプレートの不備追記

2021/07/19 14:39

投稿

attakei
attakei

スコア2738

test CHANGED
@@ -1,6 +1,30 @@
1
+ いくつかのテンプレートで書き方が間違っています。
2
+
1
- `index.html`で出力させている詳細リンクのURLの記述が間違っていま
3
+ 特に、`index.html`で詳細リンクのURLの記述が間違っているため、正しいリンクになっていせん。
2
4
 
3
5
 
6
+
7
+ detail.html
8
+
9
+ ```diff
10
+
11
+ -<h2>{( post.title )}</h2>
12
+
13
+ -<p>{( post.detail )}</p>
14
+
15
+ -<p>{( post.due.date() )}</p>
16
+
17
+ +<h2>{{ post.title }}</h2>
18
+
19
+ +<p>{{ post.detail }}</p>
20
+
21
+ +<p>{{ post.due.date() }}</p>
22
+
23
+ ```
24
+
25
+
26
+
27
+ index.html
4
28
 
5
29
  ```diff
6
30