
from offenerhaushalt.core import freezer, pages, sites

@freezer.register_generator
def page():
	for page in pages:
		yield {'path': page.path}

@freezer.register_generator
def site():
	for site in sites:
		yield {'slug': site.slug}
from offenerhaushalt.core import freezer, pages, sites


@freezer.register_generator
def page():
    for page in pages:
        yield {'path': page.path}


@freezer.register_generator
def site():
    for site in sites:
        yield {'slug': site.slug}


@freezer.register_generator
def embed_site():
    for site in sites:
        yield {'slug': site.slug}

Add embed site freeze generator
Add embed site freeze generator

Fix tabs/spaces issue as well
+ from offenerhaushalt.core import freezer, pages, sites
  
- from offenerhaushalt.core import freezer, pages, sites
  
  @freezer.register_generator
  def page():
- 	for page in pages:
+     for page in pages:
- 		yield {'path': page.path}
+         yield {'path': page.path}
+ 
  
  @freezer.register_generator
  def site():
- 	for site in sites:
+     for site in sites:
- 		yield {'slug': site.slug}
+         yield {'slug': site.slug}
+ 
+ 
+ @freezer.register_generator
+ def embed_site():
+     for site in sites:
+         yield {'slug': site.slug}
+ 
Add embed site freeze generator
## Code Before:

from offenerhaushalt.core import freezer, pages, sites

@freezer.register_generator
def page():
	for page in pages:
		yield {'path': page.path}

@freezer.register_generator
def site():
	for site in sites:
		yield {'slug': site.slug}
## Instruction:
Add embed site freeze generator
## Code After:
from offenerhaushalt.core import freezer, pages, sites


@freezer.register_generator
def page():
    for page in pages:
        yield {'path': page.path}


@freezer.register_generator
def site():
    for site in sites:
        yield {'slug': site.slug}


@freezer.register_generator
def embed_site():
    for site in sites:
        yield {'slug': site.slug}
