old_contents: #import os, json
  #from jasy.core.Util import executeCommand
  #import jasy.core.Console as Console
  #import urllib.parse
  
  # Little helper to allow python modules in current jasylibrarys path
  import sys, os.path, inspect
  filename = inspect.getframeinfo(inspect.currentframe()).filename
  path = os.path.dirname(os.path.abspath(filename))
  sys.path.append(path)
  
  import konstrukteur.Konstrukteur
  
  @share
  def build(regenerate = False):
  	""" Build static website """
  	
  	konstrukteur.Konstrukteur.build(regenerate)
  
new_contents: #import os, json
  #from jasy.core.Util import executeCommand
  #import jasy.core.Console as Console
  #import urllib.parse
  
  # Little helper to allow python modules in current jasylibrarys path
  import sys, os.path, inspect
  filename = inspect.getframeinfo(inspect.currentframe()).filename
  path = os.path.dirname(os.path.abspath(filename))
  sys.path.append(path)
  
  import konstrukteur.Konstrukteur
  import jasy.asset.Manager
  
  
  @share
  def build(profile, regenerate = False):
  	""" Build static website """
  	
  	def getPartUrl(part, type):
  		folder = ""
  		if type == "css":
  			folder = profile.getCssFolder()
  		outputPath = folder #os.path.join(profile.getDestinationPath(), folder)
  		filename = profile.expandFileName("%s/%s-{{id}}.%s" % (outputPath, part, type))
  		return filename
  
  	session.addCommand("part.url", getPartUrl, "url")
  
  	for permutation in profile.permutate():
  		konstrukteur.Konstrukteur.build(regenerate, profile)
  
subject: Add support for part loading