diff --git a/.tmp/.git-keep b/.tmp/.git-keep new file mode 100644 index 0000000..e69de29 diff --git a/Gruntfile.js b/Gruntfile.js index 6f8b010..d3fc1b0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,18 +56,31 @@ module.exports = function (grunt) { }, dev: { files: ['src/Sikofitt/less/*', 'src/Sikofitt/js/*'], - tasks: ['dev'] + tasks: ['dev'], + options: { + atBegin: true + } + }, + options: { + dateFormat: function(time) { + d = new Date(); + grunt.log.ok('Grunt tasks finished in ' + time + 'ms on ' + d.toDateString() + ' at ' + d.toTimeString()); + grunt.log.ok('Watching ...'); + } } }, uglify: { options: { mangle: true, + report: 'gzip', compress: { drop_console: true }, - banner: '/*! Resume.PHP - v<%= pkg.version %> - ' + - '<%= grunt.template.today("dddd, mmmm dS, yyyy, h:MM:ss tt") %> */', - nameCache: '.tmp/grunt-uglify-cache.json' + banner: '/*! \n * Resume.PHP - v<%= pkg.version %> @license MIT (http://resume.reric.me)\n' + + ' * <%= grunt.template.today("dddd, mmmm dS, yyyy, h:MM:ss tt") %> \n */\n', + footer: '\n/*! Resume.PHP end */', + nameCache: '.tmp/grunt-uglify-cache.json', + preserveComments: 'some', }, dist: { files: {'web/js/resume.min.js': ['src/Sikofitt/js/resume.js']} diff --git a/app/config/config.yml b/app/config/config.yml index ceedbfe..4d0e412 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -9,6 +9,7 @@ app: captcha_sitekey: 6LcvmSQTAAAAAMmf9w6mhCbpdLvknuD9SGVHT0q- captcha_secret: 6LcvmSQTAAAAAITkvYJjgLar1LqGGLz-ic0ZMiXo twig: + theme: default paths: - views template: uikit.html.twig diff --git a/app/views/resume.html.twig b/app/views/resume.html.twig index ebc040f..550d17e 100644 --- a/app/views/resume.html.twig +++ b/app/views/resume.html.twig @@ -1,267 +1,265 @@ {% extends app.config.twig.template %} {% block title %} - {{ app.config.app.title | default('Resume') }} + {{ app.config.app.title | default('Resume') }} {% endblock %} {% block body %} -
{{ basics.summary }}
- {% endif %} - -- {{ position.summary|raw }} -
- {% if position.highlights is defined and position.highlights is not empty %} - + +{{ basics.summary }}
{% endif %} -+ {{ position.summary|raw }} +
+ {% if position.highlights is defined and position.highlights is not empty %} + + {% endif %} +