mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 23:29:14 +00:00
Updated template and content
This commit is contained in:
parent
142a478a6a
commit
9dd5ca83c5
33 changed files with 415 additions and 222 deletions
|
|
@ -30,61 +30,65 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header class="topbar">
|
||||
<nav>
|
||||
<!-- Avatar -->
|
||||
<a href="/">
|
||||
<div class="topbar-header">
|
||||
<img src="<%= url_for(theme.banner) %>" alt="<%= config.author %>">
|
||||
</div>
|
||||
</a>
|
||||
<div class="body">
|
||||
<header class="topbar">
|
||||
<nav>
|
||||
<!-- Avatar -->
|
||||
<a href="/">
|
||||
<div class="topbar-header">
|
||||
<img src="<%= url_for(theme.banner) %>" alt="<%= config.author %>">
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<!-- Topbar Menu -->
|
||||
<% theme.topbar_menu.forEach(function(menu) { %>
|
||||
<% if (menu.enable) { %>
|
||||
<a href="<%= menu.url %>">
|
||||
<%= menu.name %>
|
||||
</a>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
|
||||
<span class="social">
|
||||
<% theme.social.forEach(function(social) { %>
|
||||
<% if (social.enable) { %>
|
||||
<span class="social-icon">
|
||||
<a href="<%= social.url %>" target="_blank">
|
||||
<% if (theme.fontawesome) { %>
|
||||
<i class="<%= social.icon %>"></i>
|
||||
<% } else { %>
|
||||
<img src='<%= url_for(theme.avatar) %>'></img>
|
||||
<% } %>
|
||||
</a>
|
||||
</span>
|
||||
<!-- Topbar Menu -->
|
||||
<% theme.topbar_menu.forEach(function(menu) { %>
|
||||
<% if (menu.enable) { %>
|
||||
<a href="<%= menu.url %>">
|
||||
<%= menu.name %>
|
||||
</a>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
</span>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<!-- BODY -->
|
||||
<div class="content">
|
||||
<%- body %>
|
||||
</div>
|
||||
<span class="social">
|
||||
<% theme.social.forEach(function(social) { %>
|
||||
<% if (social.enable) { %>
|
||||
<span class="social-icon">
|
||||
<a href="<%= social.url %>" target="_blank">
|
||||
<% if (theme.fontawesome) { %>
|
||||
<i class="<%= social.icon %>"></i>
|
||||
<% } else { %>
|
||||
<img src='<%= url_for(theme.avatar) %>'></img>
|
||||
<% } %>
|
||||
</a>
|
||||
</span>
|
||||
<% } %>
|
||||
<% }); %>
|
||||
</span>
|
||||
|
||||
<!-- Footer -->
|
||||
<div class="footer smoll">
|
||||
<% if (theme.hexo) { %>
|
||||
<div class="hexo footer">
|
||||
Powered by Hexo, theme <a href="https://openalt.ro" target="_blank">OpenAlt</a><br>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (theme.copyright) { %>
|
||||
<div class="copy footer">
|
||||
© <%= theme.copy_year %> <%= config.author %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</main>
|
||||
</nav>
|
||||
</header>
|
||||
<main>
|
||||
<!-- BODY -->
|
||||
<div class="content">
|
||||
<%- body %>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
<div class="footer smoll">
|
||||
<% if (theme.hexo) { %>
|
||||
<div class="hexo footer">
|
||||
Powered by Hexo, theme <a href="https://openalt.ro" target="_blank">OpenAlt</a><br>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (theme.copyright) { %>
|
||||
<div class="copy footer">
|
||||
© <%= theme.copy_year %> <%= config.author %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue