✨ Site > Add keppler version
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
@@ -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
@@ -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' ) )
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user