D
D
Denis Volchkevich2017-01-08 23:37:50
Web development
Denis Volchkevich, 2017-01-08 23:37:50

How to create a reference variable to the project root?

I use a single HTML template for the project in which page elements are pulled in, and which contains links to styles, scripts, etc. ... since the template is used in a single way and is located on different levels, you have to manually write the path to the desired file. How can you automate the process with the help of a change or in some other way? For example, Zurb uses the {{root}} construction prntscr.com/dt4e4a but I don’t understand how.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2017-01-08
@Denis_Volchkevich

{{root}}/css/app.css is the same as /css/app.css .
why is there a variable at all?
htmlbook.ru/samhtml/ssylki/absolyutnye-i-otnositel...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question