Skip to content

Commit d715d72

Browse files
committed
remove blog mentions and files
1 parent 16363f8 commit d715d72

File tree

19 files changed

+1
-260
lines changed

19 files changed

+1
-260
lines changed

COPYsrc/index.html

-8
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
<div class="navbar-nav">
1616
<a class="nav-item nav-link pr-4 pl-4" href="docs/"><h5 class="font-weight-normal">Docs</h2></a>
1717
<a class="nav-item nav-link pr-4 pl-4" href="faq/"><h5 class="font-weight-normal">FAQ</h2></a>
18-
<a class="nav-item nav-link pr-4 pl-4" href="blog/"><h5 class="font-weight-normal">Blog</h2></a>
1918
<a class="nav-item nav-link pr-4 pl-4" href="community/"><h5 class="font-weight-normal">Community</h2></a>
20-
<a class="nav-item nav-link pr-4 pl-4" href="showcase/"><h5 class="font-weight-normal">Showcase</h2></a>
2119
</div>
2220
</div>
2321

@@ -42,15 +40,9 @@ <h2 style="font-family: Bison;">Exokit</h2>
4240
<div class="col-12 mb-4">
4341
<a href="faq/"><h5 class="font-weight-light">FAQ</h5></a>
4442
</div>
45-
<div class="col-12 mb-4">
46-
<a href="blog/"><h5 class="font-weight-light">Blog</h5></a>
47-
</div>
4843
<div class="col-12 mb-4">
4944
<a href="community/"><h5 class="font-weight-light">Community</h5></a>
5045
</div>
51-
<div class="col-12 mb-4">
52-
<a href="showcase/"><h5 class="font-weight-light">Showcase</h5></a>
53-
</div>
5446
<div class="col-12 mb-4">
5547
<i id="closeLittleNav" class="fas fa-times fa-2x" style="margin-bottom: 5vh; cursor: pointer;"></i>
5648
</div>

COPYsrc/style/blog.css

-7
This file was deleted.

ORGANIZATION.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ Powered by [Hexo](https://hexo.io/)
1010
- `COPYsrc` - Landing page files copied over after generating Hexo files.
1111
- `src` - Content. Do not put CSS/JavaScript files here because Hexo will malform them.
1212
- `_data/` -
13-
- `_posts/` - Blog posts.
14-
- `blog/index.md` - Hexo blog section metadata. Does **not** contain blog posts.
1513
- `community/index.md` - Community page.
1614
- `faq/index.md` - FAQ page.
17-
- `images/` - Site and blog images
15+
- `images/` - Site images
1816
- `themes/` - Layout, CSS, releases.
1917
- `exokit/`
2018
- `layout/` - HTML and templates.

_config.prod.yml

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ description: "Native VR/AR/XR engine for JavaScript"
99
email:
1010
language:
1111
robots: all
12-
blog_title: Blog
1312

1413
# Color for `<meta name="theme-color">`.
1514
## https://html.spec.whatwg.org/multipage/semantics.html#meta-theme-color
@@ -20,7 +19,6 @@ theme_color: black
2019
## If your site is put in a sub-directory, set URL as `http://yoursite.com/child` and root as `/child/`.
2120
url: https://exokit.org
2221
root: /
23-
permalink: blog/:title/
2422
tag_dir: tags
2523
archive_dir: archives
2624
category_dir: categories

scripts/redirects.js

-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ hexo.extend.generator.register('site-redirects', function () {
1414
]);
1515
});
1616

17-
hexo.extend.generator.register('blog-redirects', function () {
18-
return expandRedirectObjs([
19-
]);
20-
});
21-
2217
hexo.extend.generator.register('community-short-url-redirects', function () {
2318
return expandRedirectObjs([
2419
['github/', hexo.config.github.exokit.url],

src/_posts/helloworld.md

-10
This file was deleted.

src/_posts/introducing-exokit.md

-44
This file was deleted.

src/blog/index.md

-6
This file was deleted.

src/community/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ people who come together to make developing WebXR a rewarding experience.
2121

2222
## News
2323

24-
- [Blog](../blog/) - collects the latest
25-
news, upcoming events, and cool projects that other people are working on.
2624
- [Twitter](https://twitter.com/exokitxr) - Keep up to date with awesome
2725
projects that people are doing and announcements.
2826

themes/exokit/layout/blog.ejs

-98
This file was deleted.

themes/exokit/layout/index.ejs

-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
<li class="menu-item">
1818
<a href="<%- url_for('faq/') %>">FAQ</a>
1919
</li>
20-
<!-- <li class="menu-item">
21-
<a href="<%- url_for('blog/') %>">Blog</a>
22-
</li> -->
2320
<li class="menu-item">
2421
<a href="<%- url_for('community/') %>">Community</a>
2522
</li>

themes/exokit/layout/layout.ejs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
<% pageTitle = page.full_title || (isHome ? projectTitle : pageTitle + config.title) %>
1111
<% src = page.image && page.image.src %>
1212
<% if (src && src.indexOf('http') === -1) { %>
13-
<% src = absolute_url_for('/images/blog/' + src); %>
1413
<% } %>
1514
<% var metaImage = src || (absolute_url_for(meta_image(page, 'images/card.jpg'), {secure: false}) + '?v2') %>
1615
<% var metaImageSecure = src || (absolute_url_for(meta_image(page, 'images/card.jpg'), {secure: true}) + '?v2') %>

themes/exokit/layout/partials/blog/image.ejs

-14
This file was deleted.

themes/exokit/layout/partials/blog/metadata.ejs

-6
This file was deleted.

themes/exokit/layout/partials/examples/sidebar.ejs

-11
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@
2020
Get Started
2121
</a>
2222

23-
<div class="list examples-list blog-list">
24-
<h2 class="page-title"><a href="/blog">Blog</a></h2>
25-
<ul id="examplesSubnav"
26-
class="subnav examples-subnav borderless-links">
27-
<% var lastPost = site.posts.sort('-date').data[0] %>
28-
<li class="example-item">
29-
<a class="subnav-link" href="<%- lastPost.path %>" title="<%- lastPost.title %>"><%- lastPost.title %></a>
30-
</li>
31-
</ul>
32-
</div>
33-
3423
<!-- Documentation list. -->
3524
<div class="list examples-list">
3625
<ul id="examplesSubnav"

themes/exokit/layout/partials/secondary/sidebar_header.ejs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<%
22
var links = [
33
{url: 'docs/introduction/', text: 'Docs'},
4-
{url: 'blog/', text: 'Blog'},
54
{url: 'community/', text: 'Community'},
65
{url: 'showcase/', text: 'Showcase'},
76
{url: config.github.exokit.url, text: 'GitHub', slug: 'github', title: 'Exokit Project Repository'},

themes/exokit/source/css/_common.styl

-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ h4
102102
.copy__wrap
103103
padding 40px
104104

105-
[data-page-type="blog"] .copy__wrap
106-
padding-top: 20px;
107105

108106
.nav, .subnav
109107
list-style-type none

themes/exokit/source/css/index.styl

-20
Original file line numberDiff line numberDiff line change
@@ -337,26 +337,6 @@ span[itemprop]
337337
top 4px
338338
width 20px
339339

340-
.blog-list
341-
display none
342-
padding-bottom 10px
343-
+media--desktop()
344-
display block
345-
346-
.blog-list .page-title a
347-
border-bottom 0
348-
font-weight 300
349-
font-size 15px
350-
color rgba(0,0,0,0.6)
351-
font-weight 100
352-
letter-spacing 0.02em
353-
354-
.blog-list .subnav-link
355-
width 210px
356-
overflow hidden
357-
text-overflow ellipsis
358-
white-space nowrap
359-
360340
.example-nav
361341
margin-top 18px
362342
+media--768()

themes/exokit/source/css/secondary.styl

-17
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,6 @@ a
223223
.post__projects-text
224224
li p
225225
display inline
226-
.blog-attribution
227-
border none
228-
color $medium
229226

230227
.post__timestamp
231228
font-weight 500
@@ -240,9 +237,6 @@ a
240237
p
241238
margin 0
242239

243-
.content--blog h1 + .post--listing
244-
margin-top 9px /* To align the borders nicely since there's no visible <h1>. */
245-
246240
.post--listing + .post--listing
247241
margin-top 30px
248242

@@ -447,14 +441,6 @@ video
447441
.docs-header + blockquote
448442
margin 4em 0 2em
449443

450-
.blog-subnav a
451-
font-size: 15px;
452-
line-height: 1.8;
453-
max-width: 100%;
454-
overflow: hidden;
455-
text-overflow: ellipsis;
456-
white-space: nowrap;
457-
458444
[data-is-mobile="true"] #docs-version
459445
border 1px solid #CCC
460446

@@ -549,9 +535,6 @@ video
549535
text-overflow ellipsis
550536
white-space nowrap
551537

552-
.content--blog .page__title
553-
margin-bottom 7px
554-
555538
.logo__wordmark
556539
margin-bottom 20px
557540

0 commit comments

Comments
 (0)