<commit_before>---
layout: default
---

{% comment %}should be http://schema.org/Organization (organization such as a school, NGO, corporation, club, etc.) but we need the "opening hours"{%endcomment%}

<article class="card-entidad h-card" itemscope itemtype="http://schema.org/LocalBusiness">
	<header>
		<div class="logo">
			{% if page.img %} <img src="{{ page.img }}" alt="logo" class="u-logo" width="125" height="125" itemprop="image"> {% endif %}
		</div>
		<div>
			<h1 class="p-name" itemprop="name">{{ page.nombre }}</h1>
			{% assign category_link = "" %}
			{% if page.city == "rio-grande" %}{% assign category_link = site.data.wiki.rg-actividades %}{% endif %}
			{% if page.city == "ushuaia" %}{% assign category_link = site.data.wiki.ush-actividades %}{% endif %}
			{% if page.city == "tolhuin" %}{% assign category_link = site.data.wiki.tol-actividades %}{% endif %}
			
			{% comment %} url in wiki already has trailing slash {% endcomment %}
			{% capture category_link %}{{ category_link }}{{ page.categoria }}/{% endcapture %}
			
			{% assign category_info =  site.data.actividades | where: "id", page.categoria | first %}
			
			<p class="categoria">Actividad: <a href="{{ category_link }}" class="p-category">{{ category_info.nombre }}</a> 
			{% if category_info.alternativo.size > 0 %} (también {{ category_info.alternativo | join: ', '}}) {% endif %}
			</p>
		</div>
	</header>

	<div class="actividad-content">

	<dl class="informacion">
		
		<dt class="direccion">Direccion</dt>
		{% unless page.direccion.lugar %}
		<dd class="p-street-address">sin datos</dd>
		{% else %}
			<dd class="p-street-address" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
				<span itemprop="streetAddress">
				{% for location in page.direccion.lugar %}
					{% include get-place.html place=location city=page.city link=true%}

				</span>
			<p style="display:none"><span class="p-locality">{{site.data.prettify.[page.city]}}</span>, <span class="p-region">Tierra del Fuego</span>, <span class="p-country-name">Argentina</span></p> 
				{% unless forloop.last %},{%endunless%}
				{%endfor%}
		</dd>
		{% endunless %}
	
		<dt class="precio">Precio</dt>
			{% unless page.precio %}
			<dd class="costo">sin datos</dd>
			{% else %}
			<dd class="costo">{{ page.precio }}</dd>
			{% endunless %}

		{% if page.horario[0].dia != ""%}
		<dt class="horarios">Horarios</dt>
			<dd><ul>
			{% for horario in page.horario %}
				<li> 
					<span itemprop="openingHours" content="{{horario.dia}} {{horario.hora}}">{{horario.dia}}. {{horario.hora}}. </span> 
					{% if horario.nota != "" %}. <strong>Nota:</strong> {{ horario.nota }} {% endif %}
				</li>
			{% endfor %}
			</ul></dd>
		{% endif %}

		{% if page.nota != ""%}
		<dt class="nota p-note">Nota</dt>
			<dd>{{page.nota | newline_to_br }}</dd>	
		{% endif %}
	</dl>

	{% if  (page.url[0]| strip ) != "" or (page.email| strip ) != "" or  (page.telefono[0] | replace:" ","" | strip ) != "" %}
	<dl class="contacto">
		{% if (page.url[0]| strip ) != "" %}
		<dt class="web">Sitios</dt>
			<dd ><ul>
				{% for web in page.url %}
					{% capture domain %}{% include get-domain.html url=web no_dot=true%}{% endcapture %}
					{% capture handle %}{% include get-social-handle.html url=web %}{% endcapture %}
				<li>
					<a href="{{ web }}" class="u-url" 
					{% if web contains "facebook" or web contains "twitter" %}
						{% if web contains "facebook"%}data-social-handle="({{handle}})"{% endif %}
						{% if web contains "twitter"%}data-social-handle="(@{{handle}})"{% endif %}
					{% endif %} itemprop="url">{{ domain }}	</a>
				</li>
				{% endfor %}
			</ul></dd>
		{% endif %}

		{% if (page.email| strip ) != "" %}
		<dt class="email">email</dt>
			<dd><span itemprop="email">{% include print-email.html email=page.email %}</span></dd>
		{% endif %}

		{% if (page.telefono[0] | replace:" ","" | strip ) != "" %}
		<dt class="telefono">Teléfono</dt>
			<dd>
				{% for telefono in page.telefono %}
					{% assign tmp_areacode = telefono | split: "-" %}
					{% if tmp_areacode.size == 1 %}
						{% if page.city == "rio-grande" %}
							{% assign areacode = site.data.caracteristicas-telefono.riogrande %}
						{% else %}	
							{% assign areacode = site.data.caracteristicas-telefono.[page.city] %}
						{% endif %}	
						<a class="p-tel" itemprop="telephone" href="tel:+54-9-{{ areacode }}-{{ telefono }}">({{ areacode }}) {{ telefono }}</a>{% unless forloop.last %},{% endunless %}
					{% else %}
						{% capture tmp_telefono %} ( {{ telefono | replace: "-",") " }} {% endcapture %}
						<a class="p-tel" itemprop="telephone" href="tel:+54-9-{{ telefono }}">{{ tmp_telefono }}</a>{% unless forloop.last %},{% endunless %}
						
					{% endif %}	
					
				{% endfor %}
			</dd>
		{% endif %}
			
	</dl>
	{% endif %}

	</div>

	<footer>
		<p>
			<span class="ultima-actualizacion p-note">Última actualización: <time datetime="{{ page.ultima-actualizacion }}">{% include human-date.html hide_weekday=false date=page.ultima-actualizacion%}	</time></span>
		¿Información errónea? ayuda <a href="{{ site.github.repository_url }}/blob/{{ site.github.branch }}/{{ page.path }}">corregiendo la información</a>
		</p>
		<p> {% include links-source-history.html %} </p>
	</footer>
</article>

{% comment %}
page.path: /repo/_entidades-riogrande/futsal-afa.md 
page.url:  /rio-grande/entidades/futsal-afa/ 
{% endcomment %}

{% assign page_filename = page.path | split:"/" | last | split: "." | first %}

<h3>Eventos en los que aparece</h3>

<!-- we cant filter with "where" because we can have many "people" (like tags) -->
<ul class="entidad-eventos-aparece">
{% assign found = false %}
{% for post in site.posts %}<commit_msg>cosmetic fix for heading text<commit_after>---
layout: default
---

{% comment %}should be http://schema.org/Organization (organization such as a school, NGO, corporation, club, etc.) but we need the "opening hours"{%endcomment%}

<article class="card-entidad h-card" itemscope itemtype="http://schema.org/LocalBusiness">
	<header>
		<div class="logo">
			{% if page.img %} <img src="{{ page.img }}" alt="logo" class="u-logo" width="125" height="125" itemprop="image"> {% endif %}
		</div>
		<div>
			<h1 class="p-name" itemprop="name">{{ page.nombre }}</h1>
			{% assign category_link = "" %}
			{% if page.city == "rio-grande" %}{% assign category_link = site.data.wiki.rg-actividades %}{% endif %}
			{% if page.city == "ushuaia" %}{% assign category_link = site.data.wiki.ush-actividades %}{% endif %}
			{% if page.city == "tolhuin" %}{% assign category_link = site.data.wiki.tol-actividades %}{% endif %}
			
			{% comment %} url in wiki already has trailing slash {% endcomment %}
			{% capture category_link %}{{ category_link }}{{ page.categoria }}/{% endcapture %}
			
			{% assign category_info =  site.data.actividades | where: "id", page.categoria | first %}
			
			<p class="categoria">Actividad: <a href="{{ category_link }}" class="p-category">{{ category_info.nombre }}</a> 
			{% if category_info.alternativo.size > 0 %} (también {{ category_info.alternativo | join: ', '}}) {% endif %}
			</p>
		</div>
	</header>

	<div class="actividad-content">

	<dl class="informacion">
		
		<dt class="direccion">Direccion</dt>
		{% unless page.direccion.lugar %}
		<dd class="p-street-address">sin datos</dd>
		{% else %}
			<dd class="p-street-address" itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
				<span itemprop="streetAddress">
				{% for location in page.direccion.lugar %}
					{% include get-place.html place=location city=page.city link=true%}

				</span>
			<p style="display:none"><span class="p-locality">{{site.data.prettify.[page.city]}}</span>, <span class="p-region">Tierra del Fuego</span>, <span class="p-country-name">Argentina</span></p> 
				{% unless forloop.last %},{%endunless%}
				{%endfor%}
		</dd>
		{% endunless %}
	
		<dt class="precio">Precio</dt>
			{% unless page.precio %}
			<dd class="costo">sin datos</dd>
			{% else %}
			<dd class="costo">{{ page.precio }}</dd>
			{% endunless %}

		{% if page.horario[0].dia != ""%}
		<dt class="horarios">Horarios</dt>
			<dd><ul>
			{% for horario in page.horario %}
				<li> 
					<span itemprop="openingHours" content="{{horario.dia}} {{horario.hora}}">{{horario.dia}}. {{horario.hora}}. </span> 
					{% if horario.nota != "" %}. <strong>Nota:</strong> {{ horario.nota }} {% endif %}
				</li>
			{% endfor %}
			</ul></dd>
		{% endif %}

		{% if page.nota != ""%}
		<dt class="nota p-note">Nota</dt>
			<dd>{{page.nota | newline_to_br }}</dd>	
		{% endif %}
	</dl>

	{% if  (page.url[0]| strip ) != "" or (page.email| strip ) != "" or  (page.telefono[0] | replace:" ","" | strip ) != "" %}
	<dl class="contacto">
		{% if (page.url[0]| strip ) != "" %}
		<dt class="web">Sitios</dt>
			<dd ><ul>
				{% for web in page.url %}
					{% capture domain %}{% include get-domain.html url=web no_dot=true%}{% endcapture %}
					{% capture handle %}{% include get-social-handle.html url=web %}{% endcapture %}
				<li>
					<a href="{{ web }}" class="u-url" 
					{% if web contains "facebook" or web contains "twitter" %}
						{% if web contains "facebook"%}data-social-handle="({{handle}})"{% endif %}
						{% if web contains "twitter"%}data-social-handle="(@{{handle}})"{% endif %}
					{% endif %} itemprop="url">{{ domain }}	</a>
				</li>
				{% endfor %}
			</ul></dd>
		{% endif %}

		{% if (page.email| strip ) != "" %}
		<dt class="email">email</dt>
			<dd><span itemprop="email">{% include print-email.html email=page.email %}</span></dd>
		{% endif %}

		{% if (page.telefono[0] | replace:" ","" | strip ) != "" %}
		<dt class="telefono">Teléfono</dt>
			<dd>
				{% for telefono in page.telefono %}
					{% assign tmp_areacode = telefono | split: "-" %}
					{% if tmp_areacode.size == 1 %}
						{% if page.city == "rio-grande" %}
							{% assign areacode = site.data.caracteristicas-telefono.riogrande %}
						{% else %}	
							{% assign areacode = site.data.caracteristicas-telefono.[page.city] %}
						{% endif %}	
						<a class="p-tel" itemprop="telephone" href="tel:+54-9-{{ areacode }}-{{ telefono }}">({{ areacode }}) {{ telefono }}</a>{% unless forloop.last %},{% endunless %}
					{% else %}
						{% capture tmp_telefono %} ( {{ telefono | replace: "-",") " }} {% endcapture %}
						<a class="p-tel" itemprop="telephone" href="tel:+54-9-{{ telefono }}">{{ tmp_telefono }}</a>{% unless forloop.last %},{% endunless %}
						
					{% endif %}	
					
				{% endfor %}
			</dd>
		{% endif %}
			
	</dl>
	{% endif %}

	</div>

	<footer>
		<p>
			<span class="ultima-actualizacion p-note">Última actualización: <time datetime="{{ page.ultima-actualizacion }}">{% include human-date.html hide_weekday=false date=page.ultima-actualizacion%}	</time></span>
		¿Información errónea? ayuda <a href="{{ site.github.repository_url }}/blob/{{ site.github.branch }}/{{ page.path }}">corregiendo la información</a>
		</p>
		<p> {% include links-source-history.html %} </p>
	</footer>
</article>

{% comment %}
page.path: /repo/_entidades-riogrande/futsal-afa.md 
page.url:  /rio-grande/entidades/futsal-afa/ 
{% endcomment %}

{% assign page_filename = page.path | split:"/" | last | split: "." | first %}

<h3>Algunos eventos en los que fue participe</h3>

<!-- we cant filter with "where" because we can have many "people" (like tags) -->
<ul class="entidad-eventos-aparece">
{% assign found = false %}
{% for post in site.posts %}
{'fraction_non_alphanumeric': 0.2198816155988858, 'fraction_numerical': 0.004004178272980502, 'mean_word_length': 3.521448248720976, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 203, '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': '3668158', 'n_tokens_mistral': 4966, 'n_tokens_neox': 4057, 'n_words': 842}