from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

SITEURL = 'http://dicasdejava.com.br'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'

DELETE_OUTPUT_DIRECTORY = True

# Plugins
PLUGIN_PATHS = ['./pelican-plugins']
PLUGINS = ['sitemap', 'minify']

SITEMAP = {
    'format': 'xml',
    'exclude': ['autor/', 'tag/', 'categoria/', 'arquivo/'],
    'priorities': {
        'articles': 0.5,
        'indexes': 0.5,
        'pages': 0.5
    },
    'changefreqs': {
        'articles': 'monthly',
        'indexes': 'daily',
        'pages': 'monthly'
    }
}

# Following items are often useful when publishing

DISQUS_SITENAME = "dicas-de-java"
GOOGLE_ANALYTICS = "UA-39997045-4"

from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

SITEURL = 'http://dicasdejava.com.br'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'

DELETE_OUTPUT_DIRECTORY = True

# Plugins
PLUGIN_PATHS = ['./pelican-plugins']
PLUGINS = ['sitemap']

SITEMAP = {
    'format': 'xml',
    'exclude': ['autor/', 'tag/', 'categoria/', 'arquivo/'],
    'priorities': {
        'articles': 0.5,
        'indexes': 0.5,
        'pages': 0.5
    },
    'changefreqs': {
        'articles': 'monthly',
        'indexes': 'daily',
        'pages': 'monthly'
    }
}

# Following items are often useful when publishing

DISQUS_SITENAME = "dicas-de-java"
GOOGLE_ANALYTICS = "UA-39997045-4"

Remove minify plugin to test search.
Remove minify plugin to test search.

  from __future__ import unicode_literals
  
  # This file is only used if you use `make publish` or
  # explicitly specify it as your config file.
  
  import os
  import sys
  sys.path.append(os.curdir)
  from pelicanconf import *
  
  SITEURL = 'http://dicasdejava.com.br'
  RELATIVE_URLS = False
  
  FEED_ALL_ATOM = 'feeds/all.atom.xml'
  CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
  
  DELETE_OUTPUT_DIRECTORY = True
  
  # Plugins
  PLUGIN_PATHS = ['./pelican-plugins']
- PLUGINS = ['sitemap', 'minify']
+ PLUGINS = ['sitemap']
  
  SITEMAP = {
      'format': 'xml',
      'exclude': ['autor/', 'tag/', 'categoria/', 'arquivo/'],
      'priorities': {
          'articles': 0.5,
          'indexes': 0.5,
          'pages': 0.5
      },
      'changefreqs': {
          'articles': 'monthly',
          'indexes': 'daily',
          'pages': 'monthly'
      }
  }
  
  # Following items are often useful when publishing
  
  DISQUS_SITENAME = "dicas-de-java"
  GOOGLE_ANALYTICS = "UA-39997045-4"
  
Remove minify plugin to test search.
## Code Before:
from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

SITEURL = 'http://dicasdejava.com.br'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'

DELETE_OUTPUT_DIRECTORY = True

# Plugins
PLUGIN_PATHS = ['./pelican-plugins']
PLUGINS = ['sitemap', 'minify']

SITEMAP = {
    'format': 'xml',
    'exclude': ['autor/', 'tag/', 'categoria/', 'arquivo/'],
    'priorities': {
        'articles': 0.5,
        'indexes': 0.5,
        'pages': 0.5
    },
    'changefreqs': {
        'articles': 'monthly',
        'indexes': 'daily',
        'pages': 'monthly'
    }
}

# Following items are often useful when publishing

DISQUS_SITENAME = "dicas-de-java"
GOOGLE_ANALYTICS = "UA-39997045-4"

## Instruction:
Remove minify plugin to test search.
## Code After:
from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

SITEURL = 'http://dicasdejava.com.br'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'

DELETE_OUTPUT_DIRECTORY = True

# Plugins
PLUGIN_PATHS = ['./pelican-plugins']
PLUGINS = ['sitemap']

SITEMAP = {
    'format': 'xml',
    'exclude': ['autor/', 'tag/', 'categoria/', 'arquivo/'],
    'priorities': {
        'articles': 0.5,
        'indexes': 0.5,
        'pages': 0.5
    },
    'changefreqs': {
        'articles': 'monthly',
        'indexes': 'daily',
        'pages': 'monthly'
    }
}

# Following items are often useful when publishing

DISQUS_SITENAME = "dicas-de-java"
GOOGLE_ANALYTICS = "UA-39997045-4"
