preparing for content refacoring, moved content from config.py to content module
This commit is contained in:
49
all_paw_care/content/pages/home/__init__.py
Normal file
49
all_paw_care/content/pages/home/__init__.py
Normal file
@@ -0,0 +1,49 @@
|
||||
title = 'About me'
|
||||
|
||||
content = {
|
||||
'section 1': {
|
||||
'images': ['../static/img/about_me/about_me_1_sm.jpg',
|
||||
'../static/img/about_me/about_me_1_md.jpg',
|
||||
'../static/img/about_me/about_me_1_lg.jpg',
|
||||
'../static/img/about_me/about_me_1_xl.jpg',
|
||||
'../static/img/about_me/about_me_1_xxl.jpg'],
|
||||
|
||||
'content': '''Before I provided animal caretaking services,
|
||||
I focused my time on computers. I attended AACC
|
||||
after high school, computer network management and
|
||||
computer science are the two areas I studied.
|
||||
I designed and coded this website!'''
|
||||
},
|
||||
'section 2': {
|
||||
'images': ['../static/img/about_me/about_me_2_sm.jpg',
|
||||
'../static/img/about_me/about_me_2_md.jpg',
|
||||
'../static/img/about_me/about_me_2_lg.jpg',
|
||||
'../static/img/about_me/about_me_2_xl.jpg',
|
||||
'../static/img/about_me/about_me_2_xxl.jpg'],
|
||||
'content': '''For the past 5 years, my interest in plants and
|
||||
horticulture have expanded exponentially. As a kid,
|
||||
my mother always had plants around our home. I
|
||||
have many plants of my own, most of which I've
|
||||
grown from cuttings I take around town. My favorite
|
||||
plant type is succulents (e.g jade plants and aloes)
|
||||
because they're so easy to grow.'''
|
||||
},
|
||||
'section 3': {
|
||||
'images': ['../static/img/about_me/about_me_3_sm.jpg',
|
||||
'../static/img/about_me/about_me_3_md.jpg',
|
||||
'../static/img/about_me/about_me_3_lg.jpg',
|
||||
'../static/img/about_me/about_me_3_xl.jpg',
|
||||
'../static/img/about_me/about_me_3_xxl.jpg'],
|
||||
'content': '''My passion for animals and plants are what I
|
||||
spend most my time on currently. I love providing
|
||||
quality animal care.'''
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def get_title():
|
||||
return title
|
||||
|
||||
def get_content():
|
||||
return content
|
||||
|
||||
Reference in New Issue
Block a user