Remove author from blog posts
This commit is contained in:
		
					parent
					
						
							
								0a5a9630cf
							
						
					
				
			
			
				commit
				
					
						32f52c1791
					
				
			
		
					 3 changed files with 4 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -17,21 +17,10 @@
 | 
			
		|||
	    {% render_model post "abstract" "" "" 'truncatewords_html:10'  %}
 | 
			
		||||
	  </h2>
 | 
			
		||||
	  <span class="meta">
 | 
			
		||||
	    Posted
 | 
			
		||||
	    {% if post.author %}
 | 
			
		||||
	    by
 | 
			
		||||
	    <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}">
 | 
			
		||||
	      {% if post.author.get_full_name %}
 | 
			
		||||
	      {{ post.author.get_full_name }}
 | 
			
		||||
	      {% else %}
 | 
			
		||||
	      {{ post.author }}
 | 
			
		||||
	      {% endif %}
 | 
			
		||||
	    </a>
 | 
			
		||||
	    {% endif %}
 | 
			
		||||
	    on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
	    Posted on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
	  </span>
 | 
			
		||||
	</div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</header>
 | 
			
		||||
</header>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,18 +16,7 @@
 | 
			
		|||
        </h2>
 | 
			
		||||
      </a>
 | 
			
		||||
      <p class="post-meta" style="font-size:0.9em;">
 | 
			
		||||
        Posted
 | 
			
		||||
        {% if post.author %}
 | 
			
		||||
        by
 | 
			
		||||
        <!-- <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}"> -->
 | 
			
		||||
          {% if post.author.get_full_name %}
 | 
			
		||||
          {{ post.author.get_full_name }}
 | 
			
		||||
          {% else %}
 | 
			
		||||
          {{ post.author }}
 | 
			
		||||
          {% endif %}
 | 
			
		||||
        <!-- </a> -->
 | 
			
		||||
        {% endif %}
 | 
			
		||||
        on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
        Posted on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
      </p>
 | 
			
		||||
 | 
			
		||||
      <p class="post-subtitle">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,18 +16,7 @@
 | 
			
		|||
        </h2>
 | 
			
		||||
      </a>
 | 
			
		||||
      <p class="post-meta" style="font-size:0.9em;">
 | 
			
		||||
        Posted
 | 
			
		||||
        {% if post.author %}
 | 
			
		||||
        by
 | 
			
		||||
        <!-- <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}"> -->
 | 
			
		||||
          {% if post.author.get_full_name %}
 | 
			
		||||
          {{ post.author.get_full_name }}
 | 
			
		||||
          {% else %}
 | 
			
		||||
          {{ post.author }}
 | 
			
		||||
          {% endif %}
 | 
			
		||||
        <!-- </a> -->
 | 
			
		||||
        {% endif %}
 | 
			
		||||
        on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
        Posted on {{ post.date_published|date:"DATE_FORMAT" }}
 | 
			
		||||
      </p>
 | 
			
		||||
 | 
			
		||||
      <p class="post-subtitle">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue