26 lines
757 B
Python
26 lines
757 B
Python
from all_paw_care.content.pages.services.cards import primary_services
|
|
|
|
#def __get_content_dict():
|
|
# content = {'primary-services': dict(), 'addon-services': dict()}
|
|
# for file in os.listdir(markdown_dir):
|
|
# images = list()
|
|
# matter = frontmatter.load('{}/{}'.format(markdown_dir, file))
|
|
# if matter.metadata['type'] == 'primary':
|
|
# for img in matter.metadata['images']:
|
|
# images.append('{}/{}'.format(
|
|
# matter.metadata['image-dir'], img))
|
|
#
|
|
# content['primary-services'].update()
|
|
#
|
|
# return content
|
|
#
|
|
#content = __get_content_dict()
|
|
#
|
|
__title = 'Services & Pricing'
|
|
def get_title():
|
|
return __title
|
|
|
|
def get_primary_service_cards():
|
|
return primary_services
|
|
|