Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Vojtěch Havlík
Maturita priprava
Commits
590f6fa7
Commit
590f6fa7
authored
2 years ago
by
Pavel Tatar
💬
Browse files
Options
Download
Plain Diff
Merge branch 'root-master-patch-79563' into 'master'
Update README.md See merge request root/it-symfony-template!4
parents
1dd19231
14fefad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
README.md
README.md
+9
-0
No files found.
README.md
View file @
590f6fa7
...
...
@@ -96,6 +96,15 @@ routa.
{
```
## Vytváření odkazů
Odkazy vytváříme na pojmenované routy v anotacích. Používáme je i k odkazům na CSS a JS.
```
sh
<
link
rel
=
"stylesheet"
href
=
"{{ url('homepage') }}layouts/{{ layout }}/css/bootstrap.css"
>
<a
class
=
"dropdown-item"
href
=
"{{ path('homepage', {_locale: 'de'}) }}"
>
Deuche</a>
```
## Šablonovací systém "Twig"
Šablony jsou v adresáři templates a pojmenování má formát nazevsablony.html.twig.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment