Skip to content

Commit

Permalink
refactor and add thanks
Browse files Browse the repository at this point in the history
  • Loading branch information
HidegonSan committed Aug 12, 2023
1 parent f6d1340 commit 1e880e4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
[https://aloha-ru.com/hugo/hugo-dateupdate/](https://aloha-ru.com/hugo/hugo-dateupdate/)
[https://k-kaz-git.github.io/](https://k-kaz-git.github.io/)
[https://mokuzine.net/tags/hugo/](https://mokuzine.net/tags/hugo/)
[https://maku77.github.io/p/xg3n7qa/](https://maku77.github.io/p/xg3n7qa/)
1 change: 1 addition & 0 deletions content/pages/thanks/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ ShowBreadCrumbs: false
[https://aloha-ru.com/hugo/hugo-dateupdate/](https://aloha-ru.com/hugo/hugo-dateupdate/)
[https://k-kaz-git.github.io/](https://k-kaz-git.github.io/)
[https://mokuzine.net/tags/hugo/](https://mokuzine.net/tags/hugo/)
[https://maku77.github.io/p/xg3n7qa/](https://maku77.github.io/p/xg3n7qa/)
6 changes: 3 additions & 3 deletions content/posts/papermod-image-expand.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ Hugo image hover と適当に調べたら
<!-- attribution appreciated. github: zjeaton web: https://froglegs.co -->


<div class="image_modal_md_image">
<span class="image_modal_md_image">
<img loading="lazy" id="{{ first 6 (shuffle (seq 1 500)) }}" src="{{ .Destination | safeURL }}" onclick="open_image_modal(this.id)" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} />
</div>
</span>
```

これを入力します。
Expand Down Expand Up @@ -80,7 +80,7 @@ Hugo image hover と適当に調べたら
</div>
</div>

<script type="text/javascript">
<script>
// Open the Modal
function open_image_modal(target_id) {
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/_markup/render-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<!-- attribution appreciated. github: zjeaton web: https://froglegs.co -->


<div class="image_modal_md_image">
<span class="image_modal_md_image">
<img loading="lazy" id="{{ first 6 (shuffle (seq 1 500)) }}" src="{{ .Destination | safeURL }}" onclick="open_image_modal(this.id)" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} />
</div>
</span>
2 changes: 1 addition & 1 deletion layouts/partials/image_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
</div>

<script type="text/javascript">
<script>

function open_image_raw(target) {
close_image_modal();
Expand Down

0 comments on commit 1e880e4

Please sign in to comment.