![...]({{ asset('images/img.jpg') }})
John Doe
++ + + + + + + + +
diff --git a/UPGRADE.md b/UPGRADE.md new file mode 100644 index 0000000..14bb4d8 --- /dev/null +++ b/UPGRADE.md @@ -0,0 +1,75 @@ +# Manual upgrade + + +### 1. Copy new version of original gentelella template to app/Resources/template + +### 2. Modify template files (use regular expressions) + +Stylesheets: +```html +From: href=['"](.*).css['"] +To: href="{{ asset('$1') }}" +``` + +Links: +```html +From: href=['"](.*).html['"] +To: href="/template/$1" +``` + +Scripts: +```html +From: src=['"](js/.*.(js|json))['"] +To: src="{{ asset('$1') }}" +``` + +Images: +```html +From: src=['"](images/.*.(jpg|png))['"] +To: src="{{ asset('$1') }}” +``` + +### 3. Link templates with panel + +In every template file + +After: + +```html +
Drag multiple files to the box below for multi upload or click to select files. This is for demonstration purposes only, the files are not uploaded to any server.
-