Commit 52b32836 authored by Corentin Bettiol's avatar Corentin Bettiol 💻
Browse files

display shortContent instead of content in tag list page

parent 172b00de
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@

	<?php
	// le gros switch qui fait peur

	switch ($pageName[1]){
		case 'blog': // blog
			writeBlogPage($pageName); // voir mainController
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
		<section>
			<p>
				<?php
				if(isset($_GET['title']))
				if($pageName[1] == "blog")
					echo htmlspecialchars_decode($blogpost['content']);
				else
					echo nl2br($blogpost['shortContent']);