Move pages to content subfolder
2
.gitignore
vendored
|
@ -13,6 +13,6 @@ yarn-error.log*
|
|||
*.njsproj
|
||||
*.sln
|
||||
|
||||
.vuepress/dist
|
||||
content/.vuepress/dist
|
||||
|
||||
.env
|
||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import "../../node_modules/highlight.js/styles/monokai-sublime";
|
||||
@import "../../../node_modules/highlight.js/styles/monokai-sublime";
|
||||
@import "../scss/init/colors";
|
||||
@import "../scss/init/extends";
|
||||
@import "../scss/init/mixins";
|
|
@ -1,5 +1,6 @@
|
|||
// .vuepress/config.js
|
||||
module.exports = {
|
||||
base: '/',
|
||||
title: 'LBRY.tech',
|
||||
head: [
|
||||
['meta', {name: 'viewport', content: 'initial-scale=1, viewport-fit=cover'}],
|
Before Width: | Height: | Size: 445 KiB After Width: | Height: | Size: 445 KiB |
Before Width: | Height: | Size: 91 B After Width: | Height: | Size: 91 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 562 B |
Before Width: | Height: | Size: 288 B After Width: | Height: | Size: 288 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 745 B After Width: | Height: | Size: 745 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 408 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
4
content/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
home: true
|
||||
title: LBRY.tech
|
||||
---
|
18
github.js
|
@ -1,18 +0,0 @@
|
|||
require('dotenv').config();
|
||||
|
||||
var octokit = require('@octokit/rest')();
|
||||
|
||||
var redis = require("redis"),
|
||||
redisClient = redis.createClient(process.env.REDISCLOUD_URL);
|
||||
|
||||
octokit.activity.getEventsForOrg({
|
||||
org: 'lbryio',
|
||||
per_page: 20,
|
||||
page: 1
|
||||
}).then(function({data}) {
|
||||
|
||||
console.log(data);
|
||||
|
||||
redisClient.set('events', JSON.stringify(data), redis.print);
|
||||
|
||||
});
|
|
@ -5,8 +5,8 @@
|
|||
"author": "",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "./node_modules/vuepress/bin/vuepress.js dev",
|
||||
"start": "./node_modules/vuepress/bin/vuepress.js build && node server.js"
|
||||
"dev": "./node_modules/vuepress/bin/vuepress.js dev content",
|
||||
"start": "./node_modules/vuepress/bin/vuepress.js build content && node server.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "10.2.x"
|
||||
|
|