Changeset 9430


Ignore:
Timestamp:
Nov 14, 2010, 12:36:58 AM (13 years ago)
Author:
osimons
Message:

FullBlogPlugin: Remove 'author' from macro metainfo output if trac.ini defines the blog as a personal blog (ie. shouldn't be a visible author dimension).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fullblogplugin/0.11/tracfullblog/macros.py

    r9429 r9430  
    102102            data = {'heading': heading,
    103103                    'posts': post_list,
     104                    'blog_personal_blog': self.config.getbool(
     105                                                'fullblog', 'personal_blog'),
    104106                    'show_meta': show_meta,
    105107                    'execute_blog_macro': True}
     
    127129        for post in post_instances:
    128130            data = {'post': post,
     131                    'blog_personal_blog': self.config.getbool(
     132                                                'fullblog', 'personal_blog'),
    129133                    'list_mode': True,
    130134                    'show_meta': show_meta,
Note: See TracChangeset for help on using the changeset viewer.