#NEWLINE# @ property #NEWLINE# def options( self ) : #NEWLINE# #INDENT# '\n        Returns options depending on development mode\n        ' #NEWLINE# try : #NEWLINE# #INDENT# mode = self . site . config . mode #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# mode = 'production' #NEWLINE# #UNINDENT# if ( ( 'sass' in self . site . config ) and ( 'output_style' in self . site . config . sass ) ) : #NEWLINE# #INDENT# output_style = self . site . config . sass . output_style #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# debug = mode . startswith ( 'dev' ) #NEWLINE# output_style = ( 'compressed' if ( not debug ) else 'nested' ) #NEWLINE# #UNINDENT# opts = { #NEWLINE# #INDENT# 'output_style' : output_style , #NEWLINE# #UNINDENT# } #NEWLINE# site_opts = self . settings . get ( 'options' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# opts . update ( site_opts ) #NEWLINE# return opts