Hey guys for a whole night i cant get my index.md file parse my yaml data into my templates please have a look:

Error message:

FatalThrowableError in Parser.php(1235) : eval()'d code line 103: Parse error: syntax error, unexpected 'endif' (T_ENDIF), expecting end of file


title: Home
template: home
id: 32eb46f8-52c0-49d4-a72c-53807bda3659
    set: news
    news_title: News And Resources
    new_body: "Get the latest happenings in all of the Agency's activities."
    news_image: /site/themes/front/img/blog/news.jpg
    act_news: "The NIA did something that lead to another, guess what we are here now"
    act_news_date: 2018-05-05


{{ blocks }}
        {{ if set = "news" }}
            <section class="flat-row blog-shortcode">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="title-section">
                                <h1 class="title"> {{ news_title }}</h1>
                                <div class="sub-title">
                                    {{ new_body }}

                <div class="container">
            <div class="row">
                <div class="col-md-4">
                    <div class="imgbox style2 inner">
                        <div class="box-header">
                            <div class="box-img">
                                <a href="#">{{ news_image }}</a>
                        <div class="box-content">
                            <div class="content-left">
                                <div class="box-title"><a href="#"> {{ act_news }}</a></div>
                                <ul class="meta-post clearfix">
                                    <li class="date">
                                        <a href="#">{{ act_news_date }}</a>

                                </ul>                                </div>
                            <div class="content-right">
                                <div class="readmore">
                                    <a href="#"></a>

        {{ /if }}
{{ /blocks }}

Please help out