Skip to content

Instantly share code, notes, and snippets.

@trys
Last active April 29, 2019 12:47
Show Gist options
  • Save trys/5bcb39f31fea3063cec402ed8877c58c to your computer and use it in GitHub Desktop.
Save trys/5bcb39f31fea3063cec402ed8877c58c to your computer and use it in GitHub Desktop.
Sergey - Import
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Our lil' website</title>
</head>
<body>
<sergey-import src="header" />
<main>
<h1>Welcome!</h1>
<p>Our page content.</p>
</main>
</body>
</html>
@nrollr
Copy link

nrollr commented Apr 13, 2019

I think it should be <sergey-import src="header" /> since it refers to _imports/header.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment