<commit_before>{exp:channel:entries category="{segment_2_category_id}" require_entry="yes" channel="articles|columns" limit="1" status="open" dynamic="off"}

{if no_results}
{redirect="404"}
{/if}

{global-page-top}

	<title>A List Apart Articles about {segment_2_category_name}</title>

	<link rel="canonical" href="http://alistapart.com/topic/{segment_2}"/>

</head>

<body>

{current-user-info}<commit_msg>make sure the category exists, otherwise 404. closes #155<commit_after>{exp:channel:entries category="{segment_2_category_id}" require_entry="yes" channel="articles|columns" limit="1" status="open" dynamic="no"}

{if no_results OR segment_2_category_name == ""}
{redirect="404"}
{/if}

{global-page-top}

	<title>A List Apart Articles about {segment_2_category_name}</title>

	<link rel="canonical" href="http://alistapart.com/topic/{segment_2}"/>

</head>

<body>

{current-user-info}
{'fraction_non_alphanumeric': 0.1756152125279642, 'fraction_numerical': 0.02348993288590604, 'mean_word_length': 7.605769230769231, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5927697', 'n_tokens_mistral': 326, 'n_tokens_neox': 302, 'n_words': 57}