Skip to content

Commit

Permalink
Create 2024-07-27-now-we-have-embeds.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottN13 committed Jul 27, 2024
1 parent 81bdeea commit 21ca2e2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions _posts/2024-07-27-now-we-have-embeds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: post
title: Now we have embeds!
description: Kinda, but here's how I did it.
tags: Website Updates
---

Hello!
You might've come here from [my website.](https://www.scottnewman.xyz)

On the "Latest News and Updates" section, I have made a pseudo-embed (that's because i don't really count it as one, but make of it what you will.)

I used your typical HTML5 iFrame.
Here's how i did it.

``<iframe src="https://blog.scottnewman.xyz" title="Blog Embed" height="300" width="320" style="border: none;" scrolling="no"></iframe>``

I've included the `height` and `width` instead of the default size, so that the first recent post can be seen.

As funny as it sounds, `scrolling="no"` actually works.

`* P.S. My website, as well as this blog, are both open sourced on my Github.`

0 comments on commit 21ca2e2

Please sign in to comment.