old_contents: from index import app
  from flask import render_template, request
  from query import get_podcasts
  from config import BASE_URL
  
  podcasts = get_podcasts()
  
  project_social = {
      'url': BASE_URL,
      'title': "VPR's Podcast Directory",
      'subtitle': "",
      'img': "http://mediad.publicbroadcasting.net/p/vpr/files/vpr-podcast-directory-2015.png",
      'description': "VPR's Podcast Directory, for all your podcast discovery needs.",
      'twitter_text': "I'm using VPR's Podcast Directory.",
      'twitter_hashtag': ""
  }
  
  
  @app.route('/')
  def index():
      page_url = BASE_URL + request.path
      page_title = "VPR's Podcast Directory"
      landing = True
      # spotlight_url will need to change every time we swap out a featured podcast
      spotlight_url = "http://www.vpr.net/apps/podcasts/wintry-mix"
  
      social = project_social
  
      return render_template('content.html',
          page_title=page_title,
          social=social,
          podcasts=podcasts,
          landing=landing,
          project_social=project_social,
          page_url=page_url,
          spotlight_url=spotlight_url)
  
  
  @app.route('/<Name>')
  def podcast_page(Name):
      for podcast in podcasts:
          if 'slug' in podcast and Name == podcast['slug']:
              podcasts.remove(podcast)
              podcasts.insert(0, podcast)
  
      page_url = BASE_URL + request.path
      page_title = 'Podcast Directory: ' + podcasts[0]['Name']
  
      social = {
          'title': page_title,
          'subtitle': "VPR's Podcast Directory",
          'img': podcasts[0]['Image'],
          'description': "From VPR's Podcast Directory",
          'twitter_text': podcasts[0]['Name'],
          'twitter_hashtag': ""
      }
  
      return render_template('content.html',
          page_title=page_title,
          social=social,
          podcasts=podcasts,
          project_social=project_social,
          page_url=page_url)
  
new_contents: from index import app
  from flask import render_template, request
  from query import get_podcasts
  from config import BASE_URL
  
  podcasts = get_podcasts()
  
  project_social = {
      'url': BASE_URL,
      'title': "VPR's Podcast Directory",
      'subtitle': "",
      'img': "http://mediad.publicbroadcasting.net/p/vpr/files/vpr-podcast-directory-2015.png",
      'description': "VPR's Podcast Directory, for all your podcast discovery needs.",
      'twitter_text': "I'm using VPR's Podcast Directory.",
      'twitter_hashtag': ""
  }
  
  
  @app.route('/')
  def index():
      page_url = BASE_URL + request.path
      page_title = "VPR's Podcast Directory"
      landing = True
  
      social = project_social
  
      return render_template('content.html',
          page_title=page_title,
          social=social,
          podcasts=podcasts,
          landing=landing,
          project_social=project_social,
          page_url=page_url)
  
  
  @app.route('/<Name>')
  def podcast_page(Name):
      for podcast in podcasts:
          if 'slug' in podcast and Name == podcast['slug']:
              podcasts.remove(podcast)
              podcasts.insert(0, podcast)
  
      page_url = BASE_URL + request.path
      page_title = 'Podcast Directory: ' + podcasts[0]['Name']
  
      social = {
          'title': page_title,
          'subtitle': "VPR's Podcast Directory",
          'img': podcasts[0]['Image'],
          'description': "From VPR's Podcast Directory",
          'twitter_text': podcasts[0]['Name'],
          'twitter_hashtag': ""
      }
  
      return render_template('content.html',
          page_title=page_title,
          social=social,
          podcasts=podcasts,
          project_social=project_social,
          page_url=page_url)
  
subject: Remove hardcoded spotlight feature information: Step no. 1 in cleaning up the Google spreadsheet columns serving as the database. There's a better way to do this. Incoming.