浏览代码

Remove iTunes Affiliate Program integration

iTunes Affiliate Program no longer pays commissions for iOS or Mac apps (As of Oct 1, 2018)
Josh Buchea 7 年之前
父节点
当前提交
1e33c8fd21
共有 5 个文件被更改,包括 2 次插入15 次删除
  1. 0 2
      README.md
  2. 0 10
      _config.yml
  3. 0 1
      _includes/apple-affiliate.html
  4. 1 1
      _includes/head.html
  5. 1 1
      themes/default/index.html

+ 0 - 2
README.md

@@ -15,7 +15,6 @@ In less than 30 seconds you'll be set up with an awesome app landing page like t
 ✓ Fully Responsive Base Theme (**<a href="http://joshbuchea.github.io/awesome-app-landing-page">Demo</a>**)  
 ✓ Apple Devices for Screenshots  
 ✓ Apple Smart App Banner  
-✓ iTunes Affiliate Integration  
 ✓ Google Analytics Integration  
 ✓ Social Icons  
 ✓ Sass Support  
@@ -59,7 +58,6 @@ Optionally enter additional information:
 - Hide/Show Smart App Banner
 - Full Screen Background Image (optional)
 - Site Title & Description
-- iTunes Affiliate Token
 - Google Analytics Site ID
 
 Making a change to `_config.yml` (or any file in your repository) will force GitHub Pages to rebuild your site with jekyll. Your rebuilt site will be viewable a few seconds later at `http://username.github.io/repository-name` - if not, give it ten minutes as GitHub suggests and it'll appear soon

+ 0 - 10
_config.yml

@@ -101,16 +101,6 @@ description: # Optional - Enter your site description
 #
 google_analytics: # Enter your tracking code (e.g. UA-2110908-2) to activate tracking
 
-#
-# iTunes Affiliate Program
-#
-# Sign up here: http://www.apple.com/itunes/affiliates/
-#
-# Disclaimer:
-# This will default to using the author's affiliate token if left blank
-#
-itunes_affiliate_token: # Optional
-
 #
 # !! You don't need to change any of the configuration flags below !!
 #

+ 0 - 1
_includes/apple-affiliate.html

@@ -1 +0,0 @@
-{% if site.itunes_affiliate_token %}{{ site.itunes_affiliate_token }}{% else %}11l7ss{% endif %}

+ 1 - 1
_includes/head.html

@@ -14,7 +14,7 @@
 
   {% if site.enable.smart_app_banner %}
   <!-- Smart App Banner -->
-  <meta name="apple-itunes-app" content="app-id={{ site.app.ios_id }},affiliate-data={% include apple-affiliate.html %}">
+  <meta name="apple-itunes-app" content="app-id={{ site.app.ios_id }}">
   {% endif %}
 
   <!-- Social media management -->

+ 1 - 1
themes/default/index.html

@@ -26,7 +26,7 @@
           <div class="download-buttons">
             <a
               class="download-btn btn btn-lg"
-              href="https://itunes.apple.com/app/id{{ site.app.ios_id }}?mt=8&at={% include apple-affiliate.html %}">
+              href="https://itunes.apple.com/app/id{{ site.app.ios_id }}?mt=8">
               <i class="fa fa-apple fa-lg" aria-hidden="true"></i> App Store
             </a>