<div class="offer">
  <div class="title">
    <%= link(@offer.title, to: offer_path(@conn, :show, @offer.slug)) %>
    </a>
    <span class="company">
      <%= @offer.company %>
    </span>
  </div>
  <div class="meta">
    <div class="group">
      <span class="published"><%= human_readable_date(@offer.inserted_at) %></span>
      <span class="location"><%= @offer.location %></span>
    </div>
    <div class="group">
      <span>
        <a class="badge badge-success"><%= human_get_place(@offer.job_place) %></a>
      </span>
      <span>
        <a class="badge badge-primary"><%= human_get_type(@offer.job_type) %></a>
      </span>
    </div>
  </div>
  <div class="description">
    <%= sanitized_markdown(@offer.description) %>
  </div>
</div>

<div class="offer">
  <div class="title">
    <%= if @title_link do %>
    <%= link(@offer.title, to: offer_path(@conn, :show, @offer.slug)) %>
    <% else %>
    <%= @offer.title%>
    <% end %>
    <span class="company">
      <%= @offer.company %>
    </span>
  </div>
  <div class="meta">
    <div class="group">
      <span class="published"><%= human_readable_date(@offer.published_at) %></span>
      <span class="location"><%= @offer.location %></span>
    </div>
    <div class="group">
      <span>
        <a class="badge badge-success"><%= human_get_place(@offer.job_place) %></a>
      </span>
      <span>
        <a class="badge badge-primary"><%= human_get_type(@offer.job_type) %></a>
      </span>
    </div>
  </div>
  <div class="description">
    <%= sanitized_markdown(@offer.description) %>
  </div>
</div>

Allow title with and without link
Allow title with and without link
