From: Steven Black Date: Thu, 15 Dec 2016 18:18:58 +0000 (-0500) Subject: Update the readme_template for the non-github mirror versions. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2fbd0e1d53c34b0ec927e91d2d3baa7b106b2f89;p=stevenblack-hosts.git Update the readme_template for the non-github mirror versions. --- diff --git a/readme_template.md b/readme_template.md index 4e446592e..d9f72ed4c 100644 --- a/readme_template.md +++ b/readme_template.md @@ -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. diff --git a/updateReadme.py b/updateReadme.py index b51801af0..2709ed61a 100644 --- a/updateReadme.py +++ b/updateReadme.py @@ -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)