Add blog embed to homepage (#249)
This commit is contained in:
parent
5edcfa3c35
commit
9367c2cacf
@ -25,7 +25,7 @@
|
|||||||
<a class="navbar-item" href="{{ '/#gallery' | relative_url }}">Gallery</a>
|
<a class="navbar-item" href="{{ '/#gallery' | relative_url }}">Gallery</a>
|
||||||
<a class="navbar-item" href="{{ '/downloads/' | relative_url }}">Download</a>
|
<a class="navbar-item" href="{{ '/downloads/' | relative_url }}">Download</a>
|
||||||
<a class="navbar-item" href="https://content.minetest.net">ContentDB</a>
|
<a class="navbar-item" href="https://content.minetest.net">ContentDB</a>
|
||||||
<a class="navbar-item" href="https://forum.minetest.net/viewforum.php?f=18">News</a>
|
<a class="navbar-item" href="https://blog.minetest.net/">Blog</a>
|
||||||
<a class="navbar-item" href="{{ '/get-involved/' | relative_url }}">Get Involved</a>
|
<a class="navbar-item" href="{{ '/get-involved/' | relative_url }}">Get Involved</a>
|
||||||
<a class="navbar-item" href="{{ '/education/' | relative_url }}">Education</a>
|
<a class="navbar-item" href="{{ '/education/' | relative_url }}">Education</a>
|
||||||
</div>
|
</div>
|
||||||
|
11
_sass/_blog.scss
Normal file
11
_sass/_blog.scss
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
.blog-embed {
|
||||||
|
// position: relative;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
iframe {
|
||||||
|
width: 100%;
|
||||||
|
height: 230px;
|
||||||
|
max-width: 960px;
|
||||||
|
margin: none auto;
|
||||||
|
}
|
||||||
|
}
|
@ -11,3 +11,4 @@
|
|||||||
@import "home";
|
@import "home";
|
||||||
@import "content";
|
@import "content";
|
||||||
@import "footer";
|
@import "footer";
|
||||||
|
@import "blog";
|
||||||
|
12
index.html
12
index.html
@ -58,6 +58,18 @@ redirect_from:
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="section">
|
||||||
|
<div class="container is-max-desktop blog-embed">
|
||||||
|
<h2 id="blog" class="title section-title">Blog</h2>
|
||||||
|
<iframe src="https://blog.minetest.net/embed_latest/" frameborder="0"></iframe>
|
||||||
|
<p>
|
||||||
|
<a class="button is-primary">
|
||||||
|
View more blog posts
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2 id="gallery" class="title section-title">Gallery</h2>
|
<h2 id="gallery" class="title section-title">Gallery</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user