Update the readme_template for the non-github mirror versions.

This commit is contained in:
Steven Black 2016-12-15 13:18:58 -05:00
parent 0cd2e323c0
commit 2fbd0e1d53
2 changed files with 5 additions and 3 deletions

View 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.

View 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)