Site > Add keppler version

This commit is contained in:
brunosimon
2017-01-21 11:08:55 +01:00
parent 6e346aefa2
commit d524f49106
6 changed files with 23 additions and 2 deletions
File diff suppressed because one or more lines are too long
+6
View File
@@ -54,6 +54,12 @@ body.project
letter-spacing 2px
text-decoration none
.version
padding-left 4px
font-size 10px
letter-spacing 0px
color #555980
aside.aside
position fixed
top 80px
+8
View File
@@ -23,6 +23,7 @@ body.projects
code
font-family 'Ubuntu Mono'
outline none
section.landing
position relative
@@ -82,6 +83,13 @@ body.projects
&.index-6
left 400px - 10px
.version
position absolute
top 5px
left 420px
opacity 0.2
font-size 14px
.punch-line
padding-top 600px
text-align center
+4 -1
View File
@@ -190,7 +190,10 @@ class Site
this.express.set( 'views', path.join( __dirname, 'views' ) )
this.express.use( express.static( path.join( __dirname, 'public' ) ) )
this.express.locals.domain = this.options.domain
let config = require( '../package.json' )
this.express.locals.keppler_version = config.version
this.express.locals.domain = this.options.domain
// Controllers
this.express.use( '/', require( './controllers/index.js' ) )
+2
View File
@@ -73,6 +73,8 @@ div(ng-controller="ProjectController as controller",ng-init="init('" + project_s
.disk.index-0
a.title(href="/")
| Keppler
span.version
| #{keppler_version}
section.main
section.no-file.big-centered-text(ng-if="!file")
+2
View File
@@ -18,6 +18,8 @@ section.landing
span.letter.index-4= 'L'
span.letter.index-5= 'E'
span.letter.index-6= 'R'
span.version
| #{keppler_version}
.punch-line
.text
| An efficient way to share your code while presenting