Skip to content

Commit

Permalink
Merge pull request #215 from musicEnfanthen/fix_html
Browse files Browse the repository at this point in the history
Fix invalid or obsolete HTML
  • Loading branch information
rettinghaus authored Mar 25, 2021
2 parents 3237a1e + 401a449 commit 2d209ee
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
5 changes: 3 additions & 2 deletions _includes/menu-accordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
<div class="accordion-body">
<ul class="menu menu-nav">
{% for item in entry.submenu %}
{% if forloop.first %} <ul class="menu"> {% endif %}
{% if forloop.first %} <ul class="menu"> {% endif %}
<li class="menu-item"><a href="{{entry.url}}{{item.url}}">{{item.label}}</a></li>
{% if forloop.last %} </ul> {% endif %}
{% if forloop.last %} </ul> {% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h4 style="font-style: italic;">{{ page.fullname }}</h4>
</ul>

{% if page.image %}
<img src="{{ site.baseurl }}/images/{{ page.image }}" style="float: right; margin-left: 10px; margin-bottom: 5px; width: 300px;">
<img src="{{ site.baseurl }}/images/{{ page.image }}" alt="{{ page.name }}" style="float: right; margin-left: 10px; margin-bottom: 5px; width: 300px;">
{% endif %}
{{ content }}
</div>
Expand Down
12 changes: 7 additions & 5 deletions _layouts/tutorials.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ <h2>{{ page.fullname }}</h2>
{{ content }}
{% endif %}

<h3 id="stepLabel"></h3>
<h3 id="stepLabel">
<!-- step label goes in here -->
</h3>
<div id="instruction">
<!-- instruction texts go in here -->
</div>
Expand Down Expand Up @@ -69,10 +71,10 @@ <h3>Acknowledgments</h3>
</div>
</div>

<script src="/js/ace-src-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/verovio-toolkit.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/mei-tutorials.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
<script src="/js/ace-src-noconflict/ace.js"></script>
<script src="/js/verovio-toolkit.js"></script>
<script src="/js/mei-tutorials.js"></script>
<script>

try {
fetch("../{{page.data}}")
Expand Down
2 changes: 1 addition & 1 deletion community/projects-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ title: "Projects and users"
<div class="card project">
<div class="card-image">
{% if project.image %}
<img class="mei-project-image img-fit-cover" src="{{ site.baseurl }}/images/{{ project.image }}"/>
<img class="mei-project-image img-fit-cover" alt="{{ project.name }}" src="{{ site.baseurl }}/images/{{ project.image }}"/>
{% endif %}
</div>
<div class="card-header">
Expand Down
2 changes: 1 addition & 1 deletion conference/past.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ title: "Past Music Encoding Conferences"
<div class="card project">
<div class="card-image">
{% if conference.image %}
<img class="mei-project-image img-fit-cover" src="{{ site.baseurl }}/images/{{ conference.image }}"/>
<img class="mei-project-image img-fit-cover" alt="{{ conference.tag }}" src="{{ site.baseurl }}/images/{{ conference.image }}"/>
{% else %}
<div class="hero hero-sm bg-primary text-light">
<div class="hero-body">
Expand Down
4 changes: 2 additions & 2 deletions conference/proceedings.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ title: "Proceedings"
<div class="mec-proceedings-section-divider"><span>2015, 2016 &amp; 2017</span></div>
<div id="mec-proceedings-2015-2017">
<div class="mec-proceedings-entries">
<script src="https://bibbase.org/show?bib=https%3A%2F%2Fraw.githubusercontent.com%2Fmusic-encoding%2Fmusic-encoding.github.io%2Fmaster%2Fconference%2Fmec_proceedings.bib&jsonp=1&theme=simple&nocache=1&authorFirst=1&filter=keywords:mec-proceedings-(2015|2016|2017)&group0=displayby"></script>
<script src="https://bibbase.org/show?bib=https%3A%2F%2Fraw.githubusercontent.com%2Fmusic-encoding%2Fmusic-encoding.github.io%2Fmaster%2Fconference%2Fmec_proceedings.bib&jsonp=1&theme=simple&nocache=1&authorFirst=1&filter=keywords:mec-proceedings-(2015%7C2016%7C2017)&group0=displayby"></script>
</div>
</div>
</div>
<div class="mec-proceedings-section">
<div class="mec-proceedings-section-divider"><span>2013 &amp; 2014</span></div>
<div id="mec-proceedings-2013-2014">
<div class="mec-proceedings-entries">
<script src="https://bibbase.org/show?bib=https%3A%2F%2Fraw.githubusercontent.com%2Fmusic-encoding%2Fmusic-encoding.github.io%2Fmaster%2Fconference%2Fmec_proceedings.bib&jsonp=1&theme=simple&nocache=1&authorFirst=1&filter=keywords:mec-proceedings-(2013|2014)&group0=displayby"></script>
<script src="https://bibbase.org/show?bib=https%3A%2F%2Fraw.githubusercontent.com%2Fmusic-encoding%2Fmusic-encoding.github.io%2Fmaster%2Fconference%2Fmec_proceedings.bib&jsonp=1&theme=simple&nocache=1&authorFirst=1&filter=keywords:mec-proceedings-(2013%7C2014)&group0=displayby"></script>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h4>News</h4>
<div class="tile-content">
<h5 class="tile-title"><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h5>
<p class="tile-subtitle text-gray"><small>Posted {{ post.date | date: "%b %-d, %Y" }}</small></p>
<p>{{ post.excerpt }}</p>
{{ post.excerpt }}
</div>
</div>

Expand Down

0 comments on commit 2d209ee

Please sign in to comment.