Skip to content
Snippets Groups Projects
Commit 93093a21 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed naming added possibility to include js scripts

parent b7485823
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
File moved
<%- include('../templates/page_header', {css: ['/stylesheets/checkout.css']}); %>
<%- include('../templates/page_header', {css: ['/styles/checkout.css']}); %>
<main>
<div id="payment-container">
......
<%- include('templates/page_header', {css: ['/stylesheets/index.css']}); %>
<%- include('templates/page_header', {css: ['/styles/index.css']}); %>
<p>
Wählen Sie aus, wie viele Suchen Sie kaufen möchten.
</p>
......
......@@ -2,12 +2,17 @@
<html>
<head>
<title>MetaGer - Pass</title>
<link rel='stylesheet' href='/stylesheets/base.css' />
<link rel='stylesheet' href='/styles/base.css' />
<%_ if (typeof css !== 'undefined') { -%>
<%_ css.forEach(css_file => { -%>
<link rel="stylesheet" href="<%- css_file %>">
<%_ }) _%>
<%_ } _%>
<script src="/javascripts/app.js" defer></script>
<script src="/js/app.js" defer></script>
<%_ if (typeof js !== 'undefined') { -%>
<%_ js.forEach(js_file => { -%>
<script src="<%- js_file %>" defer></script>
<%_ }) _%>
<%_ } _%>
</head>
<body>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment