generated from chadbaldwin/simple-blog-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 2024-07-27-now-we-have-embeds.md
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.` |