Allow a default machine name to appear as a placeholder while the script(s) load
This commit is contained in:
parent
6c5b61b21d
commit
71fa2547be
5 changed files with 38 additions and 5 deletions
|
|
@ -1 +1,10 @@
|
|||
<div class="machine" id="{{ include.id }}"></div>
|
||||
<div class="machine" id="{{ include.id }}">
|
||||
{% assign machine_name = "PCjs: The Virtual IBM PC" %}
|
||||
{% for machine in page.machines %}
|
||||
{% if include.id == machine.id and machine.name%}
|
||||
{% assign machine_name = machine.name %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
[{{ machine_name }}]
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue