Skip to content

Commit 91cedd9

Browse files
committed
Add blogcard shortcode for embedding Hatenablog cards
1 parent 5436001 commit 91cedd9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

layouts/shortcodes/blogcard.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="blogcard">
2+
<iframe class="hatenablogcard" style="width:100%;height:155px;max-width:500px;"
3+
src="https://hatenablog-parts.com/embed?url={{ .Get " url" }}" width="300" height="150" frameborder="0"
4+
scrolling="no"></iframe>
5+
</div>

0 commit comments

Comments
 (0)