def restore_skeleton(skeleton, segments):
    """
    Restore translated HTML from a skeleton

    :param skeleton: HTML skeleton
    :type skeleton: str
    :param segments: translated segments
    :type segments: list
    :return: translated HTML
    :rtype: str
    """
    for i, seg in enumerate(segments, 1):
        skeleton = skeleton.replace('{{{{%{}%}}}}'.format(i), seg)
    return skeleton