From: Kai Moritz Date: Mon, 7 Mar 2022 22:14:32 +0000 (+0100) Subject: Kanonische Links über _canonical realisiert X-Git-Url: https://juplo.de/gitweb/?p=website;a=commitdiff_plain;h=HEAD;hp=c2bb6fb246907463a5cf953d4808854fb5edf607 Kanonische Links über _canonical realisiert --- diff --git a/.gitignore b/.gitignore index cae7fa6d..3dcc195b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,9 @@ node_modules dist/css +dist/facebook-utils* +dist/simple-mapper* +dist/maven-thymeleaf-skin* +dist/hibernate-maven-plugin* +dist/hibernate4-maven-plugin* +dist/webfonts +**/.*.swp diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 02a21091..00000000 --- a/Gruntfile.js +++ /dev/null @@ -1,197 +0,0 @@ -module.exports = function (grunt) { - 'use strict'; - - grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-cssmin'); - grunt.loadNpmTasks('grunt-contrib-less'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-newer'); - - grunt.initConfig({ - - clean: { - css: [ 'dist/css' ] - }, - - less: { - base: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'base.css.map', - sourceMapFilename: 'dist/css/base.css.map' - }, - src: 'less/base.less', - dest: 'dist/css/base.css' - }, - screen: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'screen.css.map', - sourceMapFilename: 'dist/css/screen.css.map' - }, - src: 'less/screen.less', - dest: 'dist/css/screen.css' - }, - print: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'print.css.map', - sourceMapFilename: 'dist/css/print.css.map' - }, - src: 'less/print.less', - dest: 'dist/css/print.css' - }, - ie8: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'ie8.css.map', - sourceMapFilename: 'dist/css/ie8.css.map' - }, - src: 'less/ie8.less', - dest: 'dist/css/ie8.css' - }, - tablet: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'tablet.css.map', - sourceMapFilename: 'dist/css/tablet.css.map' - }, - src: 'less/tablet.less', - dest: 'dist/css/tablet.css' - }, - phone: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'phone.css.map', - sourceMapFilename: 'dist/css/phone.css.map' - }, - src: 'less/phone.less', - dest: 'dist/css/phone.css' - }, - tiny: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'tiny.css.map', - sourceMapFilename: 'dist/css/tiny.css.map' - }, - src: 'less/tiny.less', - dest: 'dist/css/tiny.css' - }, - seitenaufteilung: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'seitenaufteilung.css.map', - sourceMapFilename: 'dist/css/seitenaufteilung.css.map' - }, - src: 'less/seitenaufteilung.less', - dest: 'dist/css/seitenaufteilung.css' - }, - seitenkopf: { - options: { - strictMath: true, - sourceMap: true, - outputSourceFiles: true, - sourceMapURL: 'seitenkopf.css.map', - sourceMapFilename: 'dist/css/seitenkopf.css.map' - }, - src: 'less/seitenkopf.less', - dest: 'dist/css/seitenkopf.css' - } - }, - - cssmin: { - options: { - compatibility: 'ie8', - sourceMap: true, - advanced: false - }, - base: { - src: 'dist/css/base.css', - dest: 'dist/css/base.min.css' - }, - screen: { - src: 'dist/css/screen.css', - dest: 'dist/css/screen.min.css' - }, - print: { - src: 'dist/css/print.css', - dest: 'dist/css/print.min.css' - }, - ie8: { - src: 'dist/css/ie8.css', - dest: 'dist/css/ie8.min.css' - }, - tablet: { - src: 'dist/css/tablet.css', - dest: 'dist/css/tablet.min.css' - }, - phone: { - src: 'dist/css/phone.css', - dest: 'dist/css/phone.min.css' - }, - tiny: { - src: 'dist/css/tiny.css', - dest: 'dist/css/tiny.min.css' - }, - seitenaufteilung: { - src: 'dist/css/seitenaufteilung.css', - dest: 'dist/css/seitenaufteilung.min.css' - }, - seitenkopf: { - src: 'dist/css/seitenkopf.css', - dest: 'dist/css/seitenkopf.min.css' - } - }, - - watch: { - css: { - files: [ 'less/**/*.less' ], - tasks: 'css' - } - } - - }) - - - // Task to build and minify the CSS - grunt.registerTask('css', [ 'less', 'newer:cssmin' ]); - - // Task to build the distribution - grunt.registerTask('dist', [ 'css' ]); - - - // Task to start a local http-server for development - grunt.registerTask('http-server', function() { - - grunt.util.spawn({ - cmd: 'node_modules/http-server/bin/http-server', - args: [ 'dist', '-c0' ], - opts: { stdio: 'inherit' } - }); - - }); - - // Task to start development-environment - grunt.registerTask('devel', [ 'dist', 'http-server', 'watch' ]); - - - // Default task. - grunt.registerTask('default', [ 'dist' ]); - -} diff --git a/TODO.txt b/TODO.txt index 278b0f1f..f81c8c7c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,6 +1,17 @@ +DONE: + +* maven-thymeleaf-skin generiert _immer_ Pfade der Art PFAD/VERSION +* Die Projekte kommen unter /projects/NAME/VERSION zu liegen +* Die URI der Einstiegsseite muss in der sitemap.json eingetragen sein +** /projects/NAME/VERSION/index.html unter `_titles` +** /projects/NAME/VERSION/index.html als Kind von `/projects.html` +** Passende Breadcrumbs für die Seite nicht vergessen! +** *Achtung:* Menü wird bei Fehlern nicht korrekt (vollständig!) generiert +* Das Mapping von /NAME/ auf /projects/NAME/VERSION/index.html in der + Konfiguration des Webservers muss angepasst werden - Vorteil: + Neue Doku kann deployed und getestet werden, bevor sie sichtbar + gemacht werden muss. + +TODO: + * Keine hartkodierten Links mit juplo.de im Content!! -* Links mit Version in thymeleaf-skin generieren -* ABER: Für oberste Ebene nicht?!? -* Nicht bis ins letzte Detail automatisieren: Letzte Anpassungen von Hand - (Z.B., zusätzliche/geänderte Links nachdem neue Version herausgekommen ist?) -* JSON für Menü-Generierung funktioniert nicht! diff --git a/dist/about.html b/dist/about.html index 676188cc..442ce988 100644 --- a/dist/about.html +++ b/dist/about.html @@ -42,7 +42,7 @@