Update the readme_template for the non-github mirror versions.
authorSteven Black <redacted>
Thu, 15 Dec 2016 18:18:58 +0000 (13:18 -0500)
committerSteven Black <redacted>
Thu, 15 Dec 2016 18:18:58 +0000 (13:18 -0500)
readme_template.md
updateReadme.py

index 4e446592e3e0ea57582486b08f8114f8ca8df96c..d9f72ed4c49aeb04d15086728e244c9c4fac5d69 100644 (file)
@@ -8,8 +8,10 @@ with duplicates removed.  This repo provides several hosts files tailored to you
 
 ### List of all hosts file variants
 
-Host file recipe | Readme | Raw hosts | hosts (.zip) | Unique domains
----------------- |:------:|:---------:|:------------:|:-------------:
+The **Non Github mirror** is the link to use for some hosts file managers like [Hostsman for Windows](http://www.abelhadigital.com/hostsman) that don't work with Github download links.
+
+Host file recipe | Readme | Raw hosts | hosts (.zip) | Unique domains | Non Github mirror
+---------------- |:------:|:---------:|:------------:|:--------------:|:-------------:
 @TOCROWS@
 
 **Expectation**: These unified hosts files should serve all devices, regardless of OS.
index b51801af02c2c7edce7e094ef2c466850eb79aa5..2709ed61a90d331a0f682276f5ff22b79dd3f860 100644 (file)
@@ -27,7 +27,7 @@ Python3 = sys.version_info >= (3,0)
 
 def main():
 
-    s = Template('${description} | [Readme](https://github.com/StevenBlack/hosts/blob/master/${location}readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/${location}hosts) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/${location}hosts.zip) | ${fmtentries}')
+    s = Template('${description} | [Readme](https://github.com/StevenBlack/hosts/blob/master/${location}readme.md) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/${location}hosts) | [link](https://raw.githubusercontent.com/StevenBlack/hosts/master/${location}hosts.zip) | ${fmtentries} | [link](http://sbc.io/hosts/${location}hosts)')
 
     with open(README_DATA_FILENAME, 'r') as f:
        data = json.load(f)
git clone https://git.99rst.org/PROJECT