diff --git a/.gitignore b/.gitignore
index 11564cc62..e15d6c8f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
*.IMG
*.dsk
*.img
+*.log
+*.dump
*.heapsnapshot
.DS_Store
.buildpath
diff --git a/README.md b/README.md
index e7193ba29..e2668de52 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ Some pre-configured machines are shown below, ready to run BASIC, DOS, Windows 1


-Check out the rest of the PCjs [Application](/apps/pc/), [Boot Disk](/disks/pc/) and [Machine](/devices/pc/machine/)
+Check out the rest of the PCjs [Application](/apps/pc/), [Disk](/disks/pc/), and [Machine](/devices/pc/machine/)
demos, including an [IBM PC Dual Display System](/devices/pc/machine/5150/dual/64kb/) demo of multiple monitor support,
and [IBM PC XT "Server Array"](/devices/pc/machine/5160/cga/256kb/array/) and [Windows 1.01 "Server Array"](/devices/pc/machine/5160/ega/640kb/array/)
demos of multiple machines running side-by-side.
diff --git a/_config.yml b/_config.yml
index bd0459cbb..d32fad925 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,9 +12,12 @@ url: "http://www.pcjs.org" # "http://jeffpar.github.io" or "http://www.pcjs.org
twitter_username: jeffpar
github_username: jeffpar
+left_brace: "{"
+right_brace: "}"
+
# Build settings
-exclude: ["index.html", "logs", "node_modules", "**/c64", "**/private", "**/src", "**/static", "tmp", "videos", "web"]
+exclude: ["index.html", "**/index.html", "logs", "node_modules", "**/c64", "src", "**/src", "**/static", "tmp", "videos", "web", ".git", ".idea"]
markdown: kramdown
kramdown:
input: GFM
@@ -28,7 +31,7 @@ gems:
pcjs:
domain: pcjs.org # whereas site.url is used for linking purposes, site.pcjs.domain is used for display purposes
- version: 1.20.3 # IMPORTANT: keep pcjs.version in sync with package.json:version
+ version: 1.20.4 # IMPORTANT: keep pcjs.version in sync with package.json:version
compiled: true # by default, the compiled pcjs.version scripts will be used (eg, pc.js or pc-dbg.js)
pc_scripts: # if pcjs.compiled is false, the following scripts will be included instead, in the order listed
- /modules/shared/lib/defines.js
diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html
index 6cf019a35..b53967674 100644
--- a/_includes/google-analytics.html
+++ b/_includes/google-analytics.html
@@ -1,8 +1,10 @@
-
+
+{% endif %}
diff --git a/_includes/machine-engines.html b/_includes/machine-engines.html
index 7c4e1a317..a299df49c 100644
--- a/_includes/machine-engines.html
+++ b/_includes/machine-engines.html
@@ -10,11 +10,7 @@
{% else %}
{% assign machine_template = machine.template %}
{% endunless %}
- {% unless machine.state %}
- {% assign machine_state = '' %}
- {% else %}
- {% assign machine_state = machine.state %}
- {% endunless %}
+ {% capture machine_parms %}{{ site.left_brace }}state:"{{ machine.state }}",autoMount:{{ machine.automount|jsonify }}{{ site.right_brace }}{% endcapture %}
{% if site.pcjs.compiled == true and machine.uncompiled != true %}
{% capture machine_script %}{% endcapture %}
{% unless machine_scripts contains machine_script %}
@@ -38,5 +34,5 @@
{% capture machine_template %}{{ site.baseurl }}/modules/{{ machine.type | remove:'-dbg' }}js/templates/components.xsl{% endcapture %}
{% endif %}
{% endif %}
-
+
{% endfor %}
diff --git a/_layouts/viewer.html b/_layouts/viewer.html
index ca9c43a68..7cda7240e 100644
--- a/_layouts/viewer.html
+++ b/_layouts/viewer.html
@@ -70,6 +70,9 @@
}
})();
+
+ {% include google-analytics.html %}
+