Skip to content

Commit fab50bf

Browse files
Got the comments this time
1 parent 3ae94c3 commit fab50bf

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

contact-me/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,16 +276,12 @@ <h3>Comments</h3>
276276
3bb80aaa36c969d0800509f5e8780164
277277
</div>
278278

279-
<div>103dd010-9db4-11e7-9300-0381fd250842.yml</div>
280279

281280

282-
<div>6c2fb730-9db4-11e7-9300-0381fd250842.yml</div>
283281

284282

285-
<div>comment-1505795646309.yml</div>
286283

287284

288-
<div>ef7967a0-9db2-11e7-9300-0381fd250842.yml</div>
289285

290286

291287
</section>
@@ -322,6 +318,7 @@ <h3>Comments</h3>
322318
<input type="text" id="comment-form-location" style="display:none;" name="fields[hidden]" autocomplete="off" />
323319
<label for="comment-form-message">Comment</label>
324320
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
321+
<input type="hidden" name="options[entryId]" value="3bb80aaa36c969d0800509f5e8780164">
325322
<button type="submit" id="comment-form-submit" tabindex="5">Submit Comment</button>
326323
</form>
327324
</section>

posts/using-docker-for-net-core/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,16 +579,12 @@ <h3>Comments</h3>
579579
1972248e00c5c06f60f92407ec5dbc77
580580
</div>
581581

582-
<div>103dd010-9db4-11e7-9300-0381fd250842.yml</div>
583582

584583

585-
<div>6c2fb730-9db4-11e7-9300-0381fd250842.yml</div>
586584

587585

588-
<div>comment-1505795646309.yml</div>
589586

590587

591-
<div>ef7967a0-9db2-11e7-9300-0381fd250842.yml</div>
592588

593589

594590
</section>
@@ -625,6 +621,7 @@ <h3>Comments</h3>
625621
<input type="text" id="comment-form-location" style="display:none;" name="fields[hidden]" autocomplete="off" />
626622
<label for="comment-form-message">Comment</label>
627623
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
624+
<input type="hidden" name="options[entryId]" value="1972248e00c5c06f60f92407ec5dbc77">
628625
<button type="submit" id="comment-form-submit" tabindex="5">Submit Comment</button>
629626
</form>
630627
</section>

themes/amp/layouts/partials/staticman/form-comments.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
<input type="text" id="comment-form-location" style="display:none;" name="fields[hidden]" autocomplete="off" />
2828
<label for="comment-form-message">Comment</label>
2929
<textarea type="text" rows="3" id="comment-form-message" name="fields[message]" tabindex="1"></textarea>
30+
<input type="hidden" name="options[entryId]" value="{{ .UniqueID }}">
3031
<button type="submit" id="comment-form-submit" tabindex="5">Submit Comment</button>
3132
</form>

themes/amp/layouts/partials/staticman/show-comments.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ <h3>Comments</h3>
88
{{ .UniqueID }}
99
</div>
1010
{{ range $comments }}
11-
<div>{{.Name}}</div>
1211
{{ if eq .Name $entryId }}
1312
{{ $.Scratch.Add "hasComments" 1 }}
14-
{{ range $index, $comments := (index $.Site.Data.comments ) }}
13+
{{ range $index, $comments := (index $.Site.Data.comments $entryId) }}
1514
<article class="row">
1615
<div class="col-md-2 col-sm-2 hidden-xs">
1716
<figure class="thumbnail">

0 commit comments

Comments
 (0)