Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
neiesc committed Jun 20, 2020
1 parent 28910b1 commit 12afa1f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
3 changes: 0 additions & 3 deletions src/assets/js/helpers/replaceAll.js

This file was deleted.

8 changes: 3 additions & 5 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,9 @@ <h4>Social Networks</h4>

<div id="particles-js"></div>

<% var template = require("html-loader!./shared/menu.html"); %>
<%= template
.split('${homeActive}').join('class="uk-active"')
.split('${palestrasActive}').join('')
.split('${podcastActive}').join('')
<% var template = require("html-loader!./shared/menu.html"); %> <%=
template .split('${homeActive}').join('class="uk-active"')
.split('${palestrasActive}').join('') .split('${podcastActive}').join('')
%>
</div>

Expand Down
9 changes: 3 additions & 6 deletions src/palestras/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,10 @@ <h3 class="uk-card-title">

<div id="particles-js"></div>

<% var template = require("html-loader!../shared/menu.html"); %>
<%=
template
.split('${homeActive}').join('')
<% var template = require("html-loader!../shared/menu.html"); %> <%=
template .split('${homeActive}').join('')
.split('${palestrasActive}').join('class="uk-active"')
.split('${podcastActive}').join('')
%>
.split('${podcastActive}').join('') %>
</div>

<!-- scripts -->
Expand Down
9 changes: 3 additions & 6 deletions src/podcasts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,10 @@ <h3 class="uk-card-title">Podcasts</h3>

<div id="particles-js"></div>

<% var template = require("html-loader!../shared/menu.html"); %>
<%=
template
.split('${homeActive}').join('')
<% var template = require("html-loader!../shared/menu.html"); %> <%=
template .split('${homeActive}').join('')
.split('${palestrasActive}').join('')
.split('${podcastActive}').join('class="uk-active"')
%>
.split('${podcastActive}').join('class="uk-active"') %>
</div>

<!-- scripts -->
Expand Down

0 comments on commit 12afa1f

Please sign in to comment.