-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang="ru"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Page title</title><link rel="stylesheet" href="/goit-js-hw-10/index.569a4d11.css"><script type="module" src="/goit-js-hw-10/index.cdc84ddc.js"></script><script src="/goit-js-hw-10/index.6c2642bc.js" nomodule="" defer></script></head><body> <article class="example" id="uk"> <h1>HTML-partials</h1> <img src="/goit-js-hw-10/logo.268195b3.png" alt="" width="320"> <p> The <a href="https://github.com/posthtml/posthtml-include" target="_blank" rel="noopener noreferrer"> posthtml-include </a> plugin allows you to add code from other HTML files (fragments) to HTML page files. Fragments are stored in the <code>src/partials</code> folder. The addition occurs when compiling page files, such as <code>index.html</code>. </p> <p> This <code>example.html</code> file is an example of such a snippet, with the markup of a certain part of the main page. This is very convenient for team development on student projects, when several people write in one HTML file at once. </p> <p> The syntax for adding a fragment to the main file is: <code> <include src="./partials/filename.html"></include></code> </p> <div class="background"></div> </article> </body></html> |